Blood-Donation-Project

Introduction

The Blood Donation Project is an initiative aimed at connecting individuals in need of blood with willing blood donors. The project utilizes npm (Node Package Manager) and version control using Git to manage the codebase and facilitate collaboration.

Getting Started

To contribute to the project, follow the steps below:

  1. Fork the Repository

  2. Clone the Repository

    • On your local machine, open a terminal or command prompt.
    • Use the following command to clone the repository:
      git clone https://github.com/your-username/Blood-Donation-Project.git
    • This will create a local copy of the repository on your machine.
  3. Install Dependencies

    • Navigate to the project's root directory:
      cd Blood-Donation-Project
      cd client
    • Run the following command to install the project dependencies using npm:
      npm install
  4. Start Server

  • For starting server you have to follow these steps -
  1. Start the server by opening a terminal or command prompt.
  2. Navigate to the server directory using the cd command:
  3. Run the following command to start the server:
node index.js
  • Feel free to modify the above code snippet to fit your specific requirements or provide more details about your server setup.
  1. Start Contributing

    • Now that you have set up the project on your local machine, you can start contributing to the project by adding the necessary functionality to connect blood donors with individuals in need.
  2. Committing Changes

    • After making changes to the code, use the following command to stage the changes:
      git add .
  3. Creating a New Branch

    • Before starting work on a new feature or bug fix, create a new branch with your GitHub profile name:
       git checkout -b your-github-profile-name
    • Commit the changes with a descriptive message:
    git commit -m "Add feature XYZ"
  4. Pushing Changes

    • Push your changes to your forked repository:
      git push -u origin your-github-profile-name
    • Submit a pull request to the original repository, clearly describing the changes you have made.

Contributing Guidelines

When contributing to the Blood Donation Project, please ensure that you follow these guidelines:

  • Before starting work on a new feature or bug fix, create a new branch for your changes.
  • Make your changes and test them thoroughly.
  • Ensure that your code follows the project's coding style and conventions.
  • Write clear commit messages that explain the purpose and details of your changes.
  • Push your changes to your forked repository.
  • Submit a pull request to the original repository, clearly describing the changes you have made.

Conclusion

The Blood Donation Project aims to make a positive impact by connecting blood donors with individuals in need of blood. By following the steps mentioned above, you can contribute to this project and help save lives. Thank you for your support!