Get the Student Task Planner running locally in 5 minutes!
- Node.js 18+ installed
- Git installed
- Text editor (VS Code recommended)
# Clone the repository
git clone <your-repo-url>
cd student-task-planner
# Install frontend dependencies
npm install
# Install backend dependencies
cd server
npm install
cd ..- Go to Firebase Console
- Create a new project (or use existing)
- Enable Authentication → Email/Password
- Get your config from Project Settings → General → Your apps → Web app
- Get service account key from Project Settings → Service Accounts → Generate new private key
- Go to MongoDB Atlas
- Create free M0 cluster
- Create database user
- Add IP:
0.0.0.0/0(Network Access) - Get connection string (Connect → Drivers)
cp .env.example .envEdit .env:
VITE_API_URL=http://localhost:5000/api
VITE_FIREBASE_API_KEY=your-api-key
VITE_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your-project-id
VITE_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your-sender-id
VITE_FIREBASE_APP_ID=your-app-idcd server
cp .env.example .envEdit server/.env:
MONGODB_URI=mongodb+srv://user:[email protected]/dbname
PORT=5000
NODE_ENV=development
CLIENT_URL=http://localhost:5173
FIREBASE_PROJECT_ID=your-project-id
FIREBASE_CLIENT_EMAIL=[email protected]
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYour-Key\n-----END PRIVATE KEY-----\n"cd server
npm run devYou should see:
🚀 Server running on port 5000
✅ MongoDB connected successfully
# From root directory
npm run devYou should see:
VITE v7.x.x ready in xxx ms
➜ Local: http://localhost:5173/
- Open browser: http://localhost:5173
- Click "Sign Up" and create an account
- Login with your credentials
- Create your first task!
You're now running the Student Task Planner locally.
- Read the full README for detailed documentation