The E-Commerce Shoes Store API is the server-side application for managing data and processes of an online shoes store. It provides REST APIs to handle core business logic, including product management, user authentication, and order processing.
- Java 17+
- Maven
- Git
- Docker
First, clone the repository:
git clone git@github.com:marceloxhenrique/ecommerce-backend.gitcd <your-project-name>mvn clean installStart the PostgreSQL database using Docker Compose
docker-compose up -dspring.application.name=ecommerce
spring.sql.init.platform=postgres
spring.datasource.url=${POSTGRES_DATA_SOURCE}
spring.datasource.username=${POSTGRES_USER}
spring.datasource.password=${POSTGRES_PASSWORD}
spring.jpa.hibernate.ddl-auto=updateThe app run on port 8080 by default.
mvn spring-boot:run