Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ct as a senior full-stack architect and generate a production-ready scalable microservices-based eCommerce application named "Wrappy (wrappy making hearts happy)". Tech Stack: Backend: Python (FastAPI) Frontend: Next.js (App Router) Database: PostgreSQL Cache: Redis Message Queue: RabbitMQ or Kafka File Storage: Cloudinary (for image uploads instead of AWS S3) Authentication: JWT-based auth Containerization: Docker + Docker Compose API Gateway: FastAPI Gateway or Nginx Project Goal: Build a customizable gifting eCommerce platform where users can: Browse products Customize gifts (upload images + description) Add to cart Place orders Make payments Receive email notifications Architecture Requirements: Use microservices architecture with the following services: Auth Service User registration and login JWT token generation and validation Role support (admin, customer) Product Service CRUD for products Categories (birthday, anniversary, etc.) Product listing API Cart Service Add to cart Remove from cart Update quantity Persistent cart using Redis or DB Order Service Create order from cart Order status tracking Integrate with payment service Trigger email events Payment Service Integrate Stripe or Razorpay Handle payment success/failure Webhook support Customization Service Upload images using Cloudinary API Store image URL and customization description Link customization with order Notification Service Send emails (order confirmation, status updates) Use SMTP or services like SendGrid API Gateway Single entry point Route requests to respective services Handle authentication middleware Frontend (Next.js): Modern UI using Tailwind CSS Pages: Home (category-based browsing) Product listing Product details Customization page (image upload + description using Cloudinary) Cart page Checkout page Login/Register Orders page (history + tracking) Frontend Requirements: Use Axios for API calls JWT stored securely (HTTP-only cookies) Global state using Zustand or Redux Toolkit Other Requirements: Use clean folder structure for each microservice Include Dockerfile for each service Provide docker-compose.yml to run entire system Include environment variables (.env) Add basic logging Add API documentation using Swagger (FastAPI default) Bonus: Add basic CI/CD pipeline (GitHub Actions) Add Kubernetes deployment YAML (optional but preferred) Output Format: Folder structure for entire project Code for each microservice (basic working APIs) Frontend Next.js structure and sample pages Docker setup Instructions to run locally Ensure code is clean, modular, and scalable.

About

A project for coffee shop using MERN

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages