A full-stack web application for managing student fee records, built using the MERN stack (MongoDB, Express.js, React.js, Node.js).
π Frontend: gyanpath2-frontend.onrender.com
π Backend API: gyanpath2-backend.onrender.com
- π§βπ Student registration and login (JWT Auth)
- π Secure student profile access
- π³ Student can pay fees online
- π Admin can view all students' payment status
- π± Responsive design for mobile and desktop
- π Protected routes for authenticated access
- React.js (with Vite)
- Tailwind CSS / Custom CSS
- React Router
- Node.js + Express.js
- MongoDB (with Mongoose)
- JWT Authentication
- Stripe for payment integration
- dotenv, CORS, bcrypt
### π§ Backend Setup
cd student-server
npm install
Add your .env file
npm run dev
### π§ Frontend Setup
cd student-frontend
npm install
Add your .env file with VITE_BACKEND_URL and VITE_STRIPE_SECRET_KEY
npm run dev
## Environment Variables
### Backend .env
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
### Frontend .env
VITE_BACKEND_URL=https://your-backend.onrender.com
VITE_STRIPE_SECRET_KEY=your_stripe_public_key