This is a B2B marketplace platform with multiple frontend applications and a backend API.
/admin-panel- Admin dashboard for managing the platform/seller-panel- Seller dashboard for managing products and orders/store-front- Public storefront for buyers/backend- Node.js API server
This project is configured for deployment on Vercel with the following setup:
- Root Configuration - Routes requests to appropriate frontend applications
- Admin Panel - Deployed at
/admin/*path - Seller Panel - Deployed at
/seller/*path - Store Front - Deployed at root path
/ - Backend API - Deployed as a serverless function
Each application requires specific environment variables. Check the .env.example files in each directory for required variables.
To run locally:
-
Install dependencies in each directory:
cd admin-panel && npm install cd seller-panel && npm install cd store-front && npm install cd backend && npm install
-
Start development servers:
# In separate terminals cd admin-panel && npm run dev cd seller-panel && npm run dev cd store-front && npm run dev cd backend && npm run dev
- Connect your GitHub repository to Vercel
- Configure the project with the root directory as the project root
- Vercel will automatically detect and deploy each application based on the vercel.json configurations