A feature-rich, high-performance Full-Stack E-Commerce Platform built with NestJS, Next.js 15 (App Router), MongoDB Atlas, and pnpm Monorepo. Features role-based access control, JWT authentication, persistent cart management, product reviews, interactive pagination, and AI-assisted product search.
- Next.js 15 App Router with Turbopack for super-fast server rendering.
- Modern Responsive Design with custom gradient branding (
ShopNest), Shadcn UI, and Tailwind CSS. - Hero Section & Dynamic Product Grid with status indicators, ratings, and pagination.
- Cart & Order System featuring guest local storage and user server-side cart sync.
- Dark/Light Theme Toggle powered by
next-themes.
- NestJS Modular Architecture with clean dependency injection, Controllers, DTOs, and Services.
- MongoDB Atlas Integration via
@nestjs/mongooseschemas. - JWT & Cookie Authentication with refresh token handling and Passport.js strategy.
- Swagger Interactive API Documentation available at
/api. - Global Pipes & Helmet Security for strict request validation and headers protection.
| Domain | Technologies Used |
|---|---|
| Frontend | Next.js 15, React 19, TypeScript, Tailwind CSS, Shadcn UI, Lucide Icons, TanStack Query |
| Backend | NestJS, TypeScript, Mongoose, Passport.js, JWT, Argon2, Swagger, Helmet |
| Database | MongoDB Atlas (Cloud NoSQL Database) |
| Monorepo & Build | pnpm Workspaces, TurboRepo, Cross-Env |
- Node.js:
v18+orv20+ - pnpm:
pnpm install -g pnpm
git clone https://github.com/YOUR_USERNAME/e-ticarat.git
cd e-ticaratpnpm installPORT=5000
ALLOWED_ORIGINS=http://localhost:3000
MONGODB_URI=mongodb+srv://YOUR_DB_USER:YOUR_PASSWORD@cluster.mongodb.net/ecommerce
JWT_SECRET=your_jwt_secret
JWT_ACCESS_SECRET=your_access_secret
JWT_REFRESH_SECRET=your_refresh_secretNEXT_PUBLIC_API_URL=http://localhost:5000/v1cd apps/server
node seed-products.jscd apps/server
pnpm run devcd apps/web
pnpm run dev- Frontend Application:
http://localhost:3000 - Backend API Server:
http://localhost:5000/v1 - Swagger Documentation:
http://localhost:5000/api
This project is open-source under the MIT License.