This project is a backend API developed in Java using Spring Boot and Spring Security. It supports a "Market List" mobile application where users can manage their shopping lists, tracking product names, quantities, and prices to calculate total expenses during shopping. This backend is crucial for user authentication and product management.
- User authentication with JWT.
- CRUD operations for products.
- Deployed using Docker on render.com.
- Java
- Spring Boot
- Spring Security
- Docker
The API is containerized with Docker and deployed to render.com.
FROM ubuntu:latest AS build
RUN apt-get update && apt-get install openjdk-17-jdk maven -y
COPY . .
RUN mvn clean install
FROM openjdk:17-jdk-slim
EXPOSE 8080
COPY --from=build /target/*.jar /app.jar
ENTRYPOINT ["java", "-jar", "/app.jar"]
- DATABASE_URL
- DATABASE_USERNAME
- DATABASE_PASSWORD
- /products (GET, POST, PUT, DELETE)
- /users (GET, POST, PUT, DELETE)
- Detailed product management.
- Generating financial reports and inventory alerts based on user spending.