Simple e-commerce website
Config application.properties
file:
spring.datasource.username=DB_USERNAME
spring.datasource.password=DB_PASSWORD
spring.datasource.url=jdbc:DB_TYPE://DB_HOST/DB_NAME
server.port=PORT
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.company.demo.DemoApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
Import database from oganisql.sql
. Using default account:
- Admin account:
- Username: admin@gmail.com
- Password: 123456