Routine Planner is a web-based system designed for universities. It allows authorities to create and manage class routines, while students and teachers can view personalized, filtered schedules.
Both client and server require their own .env file.
Copy .env.example inside the client/ folder and rename it to .env.
Copy .env.example inside the server/ folder and rename it to .env.
Set up MongoDB connection:
MONGODB_URL=your_mongodb_connection_string
To get the connection string from MongoDB Atlas:
- Create an account at https://www.mongodb.com/cloud/atlas
- Create a cluster and database
- Get your connection string (e.g.
mongodb+srv://<username>:<password>@cluster.mongodb.net/routineplanner) - Replace
<username>and<password>with your credentials - Paste it into the
.envfile
- Install dependencies:
cd client && npm install
cd ../server && npm install
- Start backend:
cd server
npm run dev
- Start frontend:
cd client
npm run dev
- Open browser at: http://localhost:5173
- Click any routine cell to add a class
- Choose from dropdowns for available course, teacher, and room
- Ctrl + Drag & Drop → duplicate a class
- Drag & Drop → move a class
- Settings page → edit/update teacher, course, and room lists
- Download button → export PDF copy of routine
- Ctrl + S → save current routine
- Auto-save after every 5 seconds