A comprehensive and user-friendly fee payment platform designed specifically for university students. Built using the MERN stack (MongoDB, Express, React, Node.js), this application streamlines the fee payment process and provides fee insights via Discord and payment integration via Razorpay.
Project Proof of Concept : Click here
Make sure you have the following installed:
Follow these steps to set up the project locally.
git clone https://github.com/samrathreddy/Unipay.git
cd Unipaycd frontend
npm installcd server
npm installSECRET_KEY=your_secret_key
MONGO_URL=your_mongo_connection_string
RAZORPAY_API_KEY=your_razorpay_api_key
RAZORPAY_API_SECRET=your_razorpay_api_secret
email=your_email
emailPass=your_email_password
DISCORD_TOKEN=your_discord_bot_token
ADMIN_CHANNEL_ID=your_admin_channel_id
VERIFIED_CHANNEL_ID=your_verified_channel_id
REJECTED_CHANNEL_ID=your_rejected_channel_idReplace the placeholder values with your actual credentials.
Navigate to the frontend directory and start the React development server:
cd frontend
npm run startThis will run the app in development mode. Open http://localhost:3000 to view it in your browser. The page will reload if you make edits. You will also see any lint errors in the console.
Navigate to the client directory and start the Express server with nodemon:
cd server
npm run startThis will start the server on http://localhost:8000 and restart it automatically if there are any changes to the code.
- Local Storage Token expiry - 5 mins (frontend/Components/RollNumberForm.js)
- Bearer expiry - 5 mins (server/routes/feeRoute.js)
- API Rate Limit - 40 requests per 15 mins (server/middlewares/validateInputMiddleware)
- React - A JavaScript library for building user interfaces
- Node.js - JavaScript runtime built on Chrome's V8 engine
- Express - Fast, unopinionated, minimalist web framework for Node.js
- MongoDB - NoSQL database for storing and retrieving data
- Razorpay - Payment gateway for processing secure and seamless transactions
- Discord - For instant notifications, updates and admin operations