Skip to content

collaborative repository to build scalable ecommerce app

License

Notifications You must be signed in to change notification settings

unsri-hackers/ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecommerce

collaborative repository to build scalable ecommerce app

How to Run Development

  1. Minimum Java 11 installed, check in your cmd/terminal.
java --version
  1. Get maven installed, check in your cmd/terminal.
mvn --version
  1. Install latest version of PostgreSQL.
  2. Clone this repo
git clone git@github.com:unsri-hackers/ecommerce.git
  1. 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.
  1. 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

Maintainers