A modern, scalable full-stack e-commerce application built with Next.js, NestJS, Prisma, and PostgreSQL (Neon). This project replicates core Amazon-like features including authentication, product management, shopping cart, and an admin dashboard.
---- Next.js (App Router)
- Tailwind CSS
- ShadCN UI
- React Hooks & Context API
- Clerk/Auth (or custom auth)
- NestJS (Modular Architecture)
- Prisma ORM
- PostgreSQL (Neon)
- JWT Authentication
- REST API
- User Signup / Login
- Secure JWT-based authentication
- Protected routes
- Product listing
- Product details page
- Category filtering
- Search functionality
- Add to cart
- Checkout flow (basic)
- Create / update / delete products
- Manage users
- View orders
- Analytics-ready structure
- Persistent cart
- Quantity management
- Price calculation
root/
│
├── frontend/ # Next.js app
├── backend/ # NestJS API
├── prisma/ # Prisma schema & migrations
└── README.md
git clone https://github.com/YOUR_USERNAME/YOUR_REPO.git
cd YOUR_REPO# frontend
cd frontend
npm install
# backend
cd ../backend
npm installCreate .env files in both frontend and backend.
DATABASE_URL=your_neon_postgres_connection
JWT_SECRET=your_secret_key
PORT=5000NEXT_PUBLIC_API_URL=http://localhost:5000cd backend
npx prisma generate
npx prisma migrate dev# backend
cd backend
npm run start:dev
# frontend
cd frontend
npm run devAdd screenshots inside:
/public/screenshots/
Then reference them like:

- Frontend: https://your-frontend-url.com
- Backend API: https://your-api-url.com
- Full-stack architecture separation
- REST API design
- Authentication & authorization
- Database modeling with Prisma
- Component-driven UI
- Payment integration (Stripe)
- Order tracking system
- Reviews & ratings
- Advanced analytics dashboard
- Microservices scaling
Pull requests are welcome. For major changes, open an issue first.
MIT License
Built by a full-stack developer focused on scalable systems, performance, and clean architecture.

