Backend Low Level Design 4
About Lesson

Create a project in spring intializer for payment service

Initilize spring project using https://start.spring.io/
Download the project file from Spring Initializr and unzip it. Open the `pom.xml` file and add the database configuration. Then, add the required settings in the `application.properties` file.
spring.application.name=paymentgateway
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/payment
spring.datasource.username=root
spring.datasource.password=1234
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create
server.port=8082
Next, open MySQL Workbench or in IntelliJ Database and create a database named `payment`. Now, run the app and check if it is working correctly.

© GeekySanjay