🚀🚀 Welcome to the Server repository of Nepal Blood Nexus (NBN)! This repository houses the server-side codebase for the NBN project, developed using Node.js, Express, and MongoDB. 🚀🚀
Nepal Blood Nexus (NBN) is a virtual blood bank project that connects blood donors with recipients in real-time. This Server repository contains the Node.js server code responsible for handling API requests, managing data in MongoDB, and facilitating communication between the client applications and the database.
- Express Framework: Utilizes Express for building robust and scalable APIs.
- MongoDB Integration: Interacts with MongoDB to store and retrieve data related to donors, recipients, and other aspects of the blood bank.
- RESTful API: Follows RESTful principles to provide a clear and structured API for communication with client applications.
- Middleware: Implements middleware for tasks such as authentication, error handling, and request processing.
Ensure you have the following software installed before running the server:
- Node.js
- npm (Node Package Manager)
- MongoDB
-
Clone this repository:
git clone https://github.com/Nepal-Blood-Nexus/Server.git
-
Install dependencies:
cd Server npm install
-
Copy the
.env.examplefile to.env:cp .env.example .env
-
Update the
.envfile with your MongoDB connection URI and any other necessary configurations.
Start the server:
npm run devThe server will be running at http://localhost:1920 by default.
We welcome contributions to enhance the server codebase. If you have suggestions, improvements, or bug fixes, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Commit your changes.
- Push to your fork.
- Submit a pull request.
This project is licensed under the [License Name] - see the LICENSE.md file for details.
Thank you for contributing to Nepal Blood Nexus (NBN)!
For more information about the overall NBN project, visit the main repository: NBN Main Repository.
Replace MIT with the specific license you choose for your project. If you haven't selected a license yet, you can include the license text directly in the README or refer to an external LICENSE.md file.