collaborative repository to build scalable ecommerce app
- Minimum
Java 11
installed, check in your cmd/terminal.
java --version
- Get maven installed, check in your cmd/terminal.
mvn --version
- Install latest version of PostgreSQL.
- Clone this repo
git clone [email protected]:unsri-hackers/ecommerce.git
- Go to root project, and make sure your
application.properties
looks like this
spring.datasource.url=jdbc:postgresql://localhost:5432/deuvox
spring.datasource.username=postgres
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL81Dialect
- This is default minimal configuration in order to run the app.
- You can run directly the app from Intellij IDEA or Vscode. If you prefer to run using cmd, run this on terminal/cmd
mvn spring-boot:run