- Frontend: React (Vite), Tailwind CSS, Framer Motion, React Router
- Backend: Node.js, Express.js, MongoDB (Mongoose), JWT auth
client/React app with pages, widgets, admin UI, animations, SEO metaserver/Express API with auth, CRUD, leads, chatbot, dashboard stats
- Copy env files:
server/.env.example->server/.envclient/.env.example->client/.env
- Install dependencies:
cd server && npm installcd ../client && npm install
- Run backend:
cd server && npm run dev
- Run frontend:
cd client && npm run dev
- Email:
admin@innovategrowagency.com - Password:
Admin@123
Change these using ADMIN_EMAIL and ADMIN_PASSWORD in server/.env.
- Public:
GET /api/public/servicesGET /api/public/portfolioGET /api/public/clientsPOST /api/public/leadPOST /api/public/chatbotPOST /api/public/track-visit
- Auth:
POST /api/auth/registerPOST /api/auth/loginGET /api/auth/me
- Admin (JWT protected):
GET /api/admin/dashboard/stats- CRUD routes for
/services,/portfolio,/clients GET /api/admin/leads
- Frontend: Vercel or Netlify (
client) - Backend: Render or Railway (
server) - Database: MongoDB Atlas