An inventory management application, this web application make use of Spring Boot and Maven for Backend tasks and ReactJS with Vite for the frontend.
- Java 17
- Spring Boot 3.5.0
- Spring Web (REST API)
- Springdoc OpenAPI (Swagger UI for API documentation)
- Maven (Build and dependency manager)
- JUnit (Service methods testing)
- React 19
- TypeScript
- Vite (build tool & dev server)
- Tailwind CSS
- Jest (Testing)
- Several component depedencies (React Select, React Datepicker, TanStack react-table, Radix UI, Lucide React, etc...)
- JDK 17+ (Backend)
- Maven 3.9.10+
- Node.js 22.16+ (Frontend)
# Clone repository
https://github.com/AlexJauregui02/BreakableToyI.git# From the initial folder
# Go to the backend directory
cd backend
# Install dependencies
mvn clean install# From the initial folder
# Go to the frontend directory
cd frontend
# Install dependencies
npm installCreate application.properties in src/main/resources:
# Add configuration data like username or the databse url
spring.application.name=java-backend
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
server.port=9090Create .env in the frontend root:
# Add necesary information, in this case the next URL should be fine
VITE_BACKEND_API_URL="http://localhost:9090/api"# Start running the backend
mvn spring-boot:run# Start running the frontend
npm run startAccess:
- Backend:
http://localhost:9090 - Frontend:
http://localhost:8080
# Run unit tests (Junit)
mvn testTo try the API's available, use the link generated by swagger:
http://localhost:9090/swagger-ui/index.html
# Run unit tests (Jest)
npm run test