Developed with the MERN Stack and Redux, this application provides a comprehensive solution for managing hostel operations.
- Clone the repository:
git clone https://github.com/yourusername/hostel-management-app.git
- Navigate to the project directory:
cd hostel-management-app
- Install backend dependencies:
npm install
- Navigate to the frontend directory and install frontend dependencies:
cd frontend && npm install
Create a .env
file in the root directory with the following content:
NODE_ENV=development
PORT=5000
MONGO_URI=Your MongoDB URI
JWT_SECRET=Your JWT Secret Key
- User Registration and Login
- Student Information Management
- Add New Students
- Edit or Remove Student Details
- Update Student Locations
- Daily Attendance Tracking
- Attendance Records Display
- Export Attendance Data as CSV
- Delete Attendance Records from Previous Days
- User List Management
- Modify User Admin Privileges
- Admin-Only Data Control
The project structure includes:
- Backend: Contains the server-side code and APIs
- Frontend: Contains the client-side code and React components
- Redux: Used for state management
Here's an example of what your .env
file should look like:
NODE_ENV=development
PORT=5000
MONGO_URI=Your MongoDB URI
JWT_SECRET=Your JWT Secret Key
- Start the backend server:
npm run server
- Start the frontend development server:
cd frontend && npm start
- Open http://localhost:3000 to view the application in your browser.
Contributions are welcome! Please feel free to submit pull requests or open issues for any improvements or bug fixes.
This project is licensed under the MIT License.