MentorMe is a full-stack platform that connects students with qualified tutors for mentorship sessions. The repository contains a TypeScript/Express API and a Next.js web client housed in sibling directories.
mentorme_backend/– REST API built with Express, Prisma, and PostgreSQLmentorme_frontend/– Next.js 16 web client with Tailwind UI
Each folder has its own README for details on configuration, scripts, and project structure.
- Node.js 20+
- PostgreSQL database (for the backend)
# Backend
cd mentorme_backend
npm install
# create .env with DATABASE_URL, JWT_SECRET, PORT
npx prisma migrate deploy
npm run dev
# Frontend
cd ../mentorme_frontend
npm install
# create .env.local with NEXT_PUBLIC_API_BASE_URL
npm run devThe backend listens on http://localhost:4000 by default and the frontend on http://localhost:3000. Update NEXT_PUBLIC_API_BASE_URL to match wherever the API is reachable.
- Commit changes from backend and frontend separately to keep diffs focused.
- Keep
.envfiles out of version control (see.gitignorefiles in each package). - Run
npm run lintin both packages before opening a pull request.
