- ⚙️ Backend: Node.js + Express.js + MongoDB + TypeScript + JWT-Auth
- ⚛️ Frontend: React.js + Vite + TailwindCSS + TypeScript
my-app/
├── backend/ # Express.js + MongoDB + TypeScript API for basic User Authorization
│ └── ...
├── frontend/ # Vite + React.js + TailwindCSS + TypeScript Template App
│ └── ...
├── README.md # README.md with steps to setup .env & prerequite details
cd backend
npm install
cd ../frontend
npm installCreate .env files in both backend/ and frontend/:
PORT=5000
MONGO_URI=mongodb://localhost:27017/your-db OR a MongoDB Atlas URI
JWT_SECRET=your-secret-key
NODE_ENV=development OR production
ADMIN_PASSWORD=your-admin-password
VITE_API_BASE_URL=http://localhost:5000/api
Under backend/ execute:
npm run dev # Start backendUnder frontend/ execute:
npm run dev # Start frontendNavigate to http://localhost:5173 to start your development journey.
Created by Tamojit Das