A small full-stack ecommerce application built with Spring Boot, MySQL, JWT, React, Redux Toolkit, React Router, Axios, and Bootstrap.
- Browse seeded products and buy them after signing in.
- Register, sign in, and view your order history.
- Use the seeded admin account to add and remove products.
Start MySQL (or point the variables below at an existing instance):
docker compose up -d
cd backend && mvn spring-boot:run
cd ../frontend && npm install && npm run devOpen http://localhost:5173. The API is on http://localhost:8080.
No Docker? Start the backend with an in-memory H2 database instead:
cd backend && mvn spring-boot:run -Dspring-boot.run.profiles=localThe local database resets every time the backend stops.
Default admin: admin@novamarket.dev / admin1234
Set DB_URL, DB_USERNAME, DB_PASSWORD, and JWT_SECRET before deployment. The defaults are only for local development.