ZipZap is a cutting-edge eCommerce platform built with modern web technologies. It provides a seamless shopping experience with a beautifully designed UI and powerful backend features.
- Next.js - React Framework for SSR & SSG
- TypeScript - Strictly typed JavaScript for better scalability
- Tailwind CSS - Utility-first styling framework
- ShadCN - Modern UI components for an elegant design
- Node.js & Express.js - Scalable API architecture
- Prisma ORM - Database modeling & queries
- PostgreSQL - Relational database running in Docker
- Jose - Secure JWT authentication
- Arcjet - Optimized Next.js deployment
- Cloudinary - Image & media management
β
Modern UI & UX - Built with ShadCN & Tailwind CSS
β
Authentication - Secure login & JWT-based authentication
β
Product Management - CRUD operations for products
β
Cart & Checkout - Smooth eCommerce experience
β
PostgreSQL with Prisma - Efficient database management
β
Image Uploads - Cloudinary integration for fast image hosting
β
Optimized Performance - Server-side rendering with Next.js
git clone https://github.com/your-username/zipzap.git
cd zipzap # Install backend dependencies
cd server
npm install
# Install frontend dependencies
cd ../client
npm installCreate a .env file in both server and client directories.
DATABASE_URL=postgresql://user:password@localhost:5432/zipzap
JWT_SECRET=your-secret-key
CLOUDINARY_CLOUD_NAME=your-cloud-name
CLOUDINARY_API_KEY=your-api-key
CLOUDINARY_API_SECRET=your-api-secretNEXT_PUBLIC_API_URL=http://localhost:5000docker-compose up -dcd server
npx prisma migrate dev --name init# Start backend
cd server
npm run dev
# Start frontend
cd ../client
npm run dev| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register |
User registration |
| POST | /api/auth/login |
User login |
| GET | /api/products |
Get all products |
| POST | /api/products |
Create a product (Admin) |
| POST | /api/upload |
Upload product images |
npm run build
npm startnpm run build
npm run startWe welcome contributions! Please follow the Contribution Guide.
This project is licensed under the MIT License.
Made with β€οΈ by the ZipZap Team