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 [email protected]:marceloxhenrique/ecommerce-backend.git
cd <your-project-name>
mvn clean install
Start the PostgreSQL database using Docker Compose
docker-compose up -d
spring.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=update
The app run on port 8080 by default.
mvn spring-boot:run