A modern Next.js e-commerce platform featuring product browsing, cart management, and secure checkout. Built with performance and user experience in mind.
- Frontend: https://swift-cart-mocha.vercel.app
- Backend API: https://swiftcart-server-silk.vercel.app
- ποΈ Product browsing with filters and search
- π Persistent shopping cart
- π³ Secure checkout process
- π Advanced search functionality
- π JWT authentication
- π¦ Order history tracking
- π± Fully responsive design
- π Sales analytics dashboard
- π¦ Product management
- π Order fulfillment
- π₯ User management
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- UI Components: Shadcn UI
- State Management: Redux
- Form Handling: React Hook Form + Zod
- Payment Integration: SSLCommerz
- API: RESTful services
- Authentication: JWT
- Image Hosting: Cloudinary
- Node.js β₯18.x
- npm/yarn/pnpm
-
Clone the repository:
git clone https://github.com/khaledssbd/SwiftCart.git cd SwiftCart
-
Install dependencies:
npm install
-
Create .env file with:
NEXT_PUBLIC_BASE_API="your_backend_url"
-
Run the dev server:
npm run dev
- Node.js β₯18.x
- npm/yarn/pnpm
-
Clone the repo:
git clone https://github.com/khaledssbd/SwiftCart-APIs.git cd SwiftCart-APIs
-
Install dependencies:
npm install
-
Create .env file with:
NODE_ENV="development" PORT=5000 DB_URL="mongodb_URI" BCRYPT_SALT_ROUNDS=12 JWT_ACCESS_SECRET="<your_access_secret>" JWT_ACCESS_EXPIRES_IN=7d JWT_REFRESH_SECRET="<your_refresh_secret>" JWT_REFRESH_EXPIRES_IN=1y JWT_OTP_SECRET="<your_otp_secret>" JWT_PASS_RESET_SECRET="<your_pass_reset_secret>" JWT_PASS_RESET_EXPIRES_IN=15m CLOUDINARY_CLOUD_NAME="<your_cloudinary_cloud_name>" CLOUDINARY_API_KEY="<your_cloudinary_api_key>" CLOUDINARY_API_SECRET="<your_cloudinary_api_secret>" SENDER_EMAIL="<your_email>" SENDER_APP_PASS="<your_app_password>" STORE_NAME="teststore" PAYMENT_API="https://sandbox.sslcommerz.com/gwprocess/v3/api.php" VALIDATION_API="https://sandbox.sslcommerz.com/validator/api/validationserverAPI.php" STORE_ID="<your_store_id>" STORE_PASSWORD="<your_store_password>" VALIDATION_URL="<your_validation_url>" SUCCESS_URL="<your_success_url>" FAILED_URL="<your_failed_url>" CANCEL_URL="<your_cancel_url>"
-
Run the dev server:
npm run dev
MIT (do whatever you want to do π )