The blood bank website project developed by Rahul Bairagi is built on the MERN stack, which stands for MongoDB, Express.js, React, and Node.js. This technology stack is widely used for building robust and scalable web applications.
blood bank website is an online platform that serves as a centralized resource for connecting blood donors with recipients in need. It is designed to facilitate the process of blood donation, streamline communication, and ensure efficient management of the blood supply. The website acts as a bridge between donors and healthcare institutions, providing valuable information, online registration, scheduling, and other essential features.
-
Open your local CLI -
mkdir MyBloodBank cd MyBloodBank
-
Setup the code -
-
Create a
.env
file and the format should be as given in.env.example
. -
Clone the code-
git clone <repo-link> cd MyBloodBank
-
-
Setup the backend code -
- Create a
config.env
file and the format should be as given in.env.example
. - install the modules-
npm install
- Open your Mongoose Client -
CREATE DATABASE MyBloodBank;
NOTE: Don't forget to keep the database name same in the
.env
and here.- Run the server
npm run server
.
- Create a
-
Open a new CLI terminal and goto the root
MyBloodBank
folder you created in the first step. -
Setup the Frontend code -
-
Goto client directory and install the modules-
cd client npm install
-
Run the client index
npm start
. -
To run both client and server concurrentyly use
npm run dev
command.
-
Some of the technologies used in the development of this web application are as follow:
- MongoDB Atlas: It provides a free cloud service to store MongoDB collections.
- React.js: A JavaScript library for building user interfaces.
- Node.js: A runtime environment to help build fast server applications using JS.
- Express.js: A popular Node.js framework to build scalable server-side for web applications.
- Redux.js: A predictable & global state container for React apps.
- Mongoose: An ODM(Object Data Modelling)library for MongoDB and Node.js