VikasBhalla_3175099_SvelteAssignment_NAGP_2025 Svelte Themes

Vikasbhalla_3175099_svelteassignment_nagp_2025

Microservices-based eCommerce portal with SvelteKit frontend and Spring Boot backend, deployed using Docker Compose.

šŸ›’ NAGP 2025 Svelte Assignment

This project is an end-to-end e-commerce portal built with:

  • Java Spring Boot Microservices
  • Spring Cloud Eureka Service Discovery
  • API Gateway
  • JWT-based Authentication
  • SvelteKit Frontend
  • Docker Compose Orchestration

šŸš€ Features

  • User login with JWT
  • Product search & catalog
  • Shopping cart with quantity updates
  • Order placement with stock validation
  • Order history
  • Fully containerized with Docker Compose

šŸ“‚ Project Structure

project-root/

ā”œā”€ā”€ docker-compose.yml

ā”œā”€ā”€ SvelteAssignment/ # Frontend source code

│ ā”œā”€ā”€ src/

│ ā”œā”€ā”€ static/

│ ā”œā”€ā”€ svelte.config.js

│ ā”œā”€ā”€ vite.config.ts

│ ā”œā”€ā”€ package.json

│ ā”œā”€ā”€ .env

│ └── Dockerfile

└── README.md


āœ… Prerequisites


āš™ļø How to Run

šŸ”„ Local Development (Frontend only)

bash

cd SvelteAssignment

npm install

npm run dev


2ļøāƒ£ Full System with Docker Compose

cd VikasBhalla_3175099_SvelteAssignment_NAGP_2025

docker-compose up --build

Eureka: http://localhost:8761

API Gateway: http://localhost:8080

Frontend: http://localhost:5173


šŸ”‘ Test Credentials

Use these demo credentials to log in:

Username: john Password: password123
Username: jane Password: password456
Username: vikas Password: vikas1123
Username: vishal Password: vishal1123


✨ Usage Flow

1ļøāƒ£ Login

2ļøāƒ£ Browse/search products

3ļøāƒ£ Add to cart

4ļøāƒ£ Place order (success & fail cases)

5ļøāƒ£ View orders


šŸ“œ License

This project is for NAGP 2025 educational purposes.


šŸ‘¤ Author

Vikas Bhalla

Top categories

Loading Svelte Themes