The backend of the Scholarship Management System is designed to provide a robust and scalable API for managing scholarships, applications, and user authentication. It serves as the core logic layer, handling data processing, storage, and communication between the frontend and database.
Live API (https://scholorship-management.vercel.app)
- User Authentication: Secure authentication using JWT tokens.
- Scholarship Management: CRUD operations for scholarships.
- Application Tracking: Manage application submissions and statuses.
- Admin Control: Role-based access control for administrators.
- Database Integration: Efficient data storage and retrieval using MongoDB.
- API Documentation: Comprehensive API documentation using Swagger.
- Node.js: JavaScript runtime environment for backend development.
- Express.js: Fast and lightweight web framework for handling API requests.
- MongoDB: NoSQL database for efficient data storage and retrieval.
To set up the backend locally, follow these steps:
- Clone the repository:
git clone https://github.com/Programming-Hero-Web-Course4/b10a12-server-side-eftakhar-491
- Navigate to the project directory:
cd scholarship-management-backend - Install dependencies:
npm install
- Set up environment variables in a
.envfile:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key PORT=5000
- Start the development server:
npm start
- express: Web framework for Node.js to create APIs.
- mongoose: ODM for MongoDB to manage database interactions.
- jsonwebtoken: Library for creating and verifying JWT tokens.
- dotenv: Loads environment variables from a
.envfile. - cors: Enables Cross-Origin Resource Sharing.
- nodemon: Automatically restarts the server during development.
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and submit a pull request.
For any inquiries or support, feel free to reach out at eftt042@gmail.com.