Follow these steps to run the React app located in university-management-react/
.
- Node.js 18+ and npm
cd university-management-react
npm install
npm start
Then open http://localhost:3000
in your browser.
cd university-management-react
npm run build
That's it.
- FastAPI project setup
- Postgresql database with basic models
- Simple authentication (JWT tokens)
- User registration/login endpoints
- Basic course model and CRUD
- Test with Postman/curl
- Course enrollment system
- Basic capacity management
- Simple conflict detection (same course twice)
- Frontend integration
- Fix CORS issues
- Test full flow: register → login → create course → enroll
- Error handling and validation
- Basic API documentation
- Fix any integration issues
- Deploy to a simple platform (Railway, Render, or local)
- Final testing
- Documentation
POST /auth/register
POST /auth/login
GET /auth/me
GET /courses
POST /courses
(admin only)GET /courses/{id}
PUT /courses/{id}
(admin only)DELETE /courses/{id}
(admin only)
POST /enrollments
DELETE /enrollments/{id}
GET /enrollments/student/{student_id}
- ✅ Working authentication - Users can register and login
- ✅ Admin can create courses - Add/edit/delete courses
- ✅ Students can enroll - Browse and enroll in courses
- ✅ Basic validation - Prevent over-enrollment, duplicate enrollment
- ✅ Frontend integration - React app works with backend
- ✅ Deployed and accessible - Live URL for testing