StudyPal is a full-stack student productivity SaaS platform with task management, rich notes, AI study tools, calendar planning, finance tracking, habit analytics, and a responsive dashboard experience.
- Frontend: React 18, Vite, TailwindCSS, React Router, Axios, FullCalendar, React Quill, Chart.js
- Backend: Node.js, Express, MongoDB, Mongoose, JWT, OpenAI API
frontend/ React application
backend/ Express API
- Create
backend/.envfrombackend/.env.example - Create
frontend/.envfromfrontend/.env.example - Install dependencies in both apps:
cd backend && npm installcd frontend && npm install
- Run the backend:
npm run dev - Run the frontend:
npm run dev
- Configure a real MongoDB connection string
- Set a strong
JWT_SECRET - Add a valid
OPENAI_API_KEY - Deploy frontend and backend separately with matching
VITE_API_URLandCLIENT_URL
- Frontend:
5173 - Backend:
5001
- For local development without MongoDB installed, set
USE_IN_MEMORY_DB=trueinbackend/.env - For persistent data, set
USE_IN_MEMORY_DB=falseand pointMONGODB_URIat a real MongoDB instance