StudyHub is a student-focused web app where users can register, log in, and collaborate around course study materials.
- Frontend built with React and Vite
- Backend API built with Node.js and Express
- PostgreSQL database managed through Prisma
- JWT-based authentication for user sessions
- Create an account
- Log in
- Access the dashboard and study features
- Install dependencies:
npm --prefix backend install
npm --prefix frontend/studyhub-app install- Create a local backend
.envwith your own values for:
PORTJWT_SECRETDATABASE_URL
- Run database migrations:
cd backend
npx prisma migrate dev --name init- Start the backend:
npm --prefix backend run dev- Start the frontend:
npm --prefix frontend/studyhub-app run dev- Keep secrets only in local
.envfiles. - Do not commit credentials, API keys, or private connection strings.


