This is a web application called Blood Bank App that serves as a platform for managing blood donation and requests. The application is built using React for the frontend and Django for the backend.
- User registration and authentication
- Donor registration and profile management
- Blood donation requests
- Blood donation history
- Search for blood donors
- React: A JavaScript library for building user interfaces.
- Django: A high-level Python web framework for rapid development.
- Redux: A predictable state container for JavaScript applications.
- Material-UI: A popular React UI framework for creating beautiful user interfaces.
- Axios: A library for making HTTP requests from the browser.
To get a local copy of the project up and running, follow these steps:
- Node.js: Make sure Node.js is installed on your system. You can download it from https://nodejs.org.
- Python: Make sure Python is installed on your system. You can download it from https://www.python.org.
- Pip: Ensure pip is installed. You can install it by refering to this website: https://www.tecmint.com/install-pip-in-linux/.
- Clone the repository: git clone https://github.com/your-username/blood-bank-app.git
- Install the frontend dependencies:
cd
into the frontend directory and donpm install
and it will install all the required dependencies for the frontend to run. If the normal command is not working try adding--force
, this will solve the problem. - Install the backend dependencies:
cd
into the backend directory and activate the virtual environment -source myvenv\bin\activate
and run the commandpip install -r requirements.txt
as it will install all the necessary backend dependencies.
- From the frontend directory, after installing the dependencies run the command
npm start
to start the frontend and from the backend directory run the commandpython manage.py runserver
to start the backend