O-factor is a platform which connects medical organizations like the hospitals and blood banks to the credible blood donors near them. Medical organizations can register themselves under the medical organization category and later call for blood donors near them through a request generation mechanism which enables them to generate a call for nearby donors within some range as specified by the organization. Donors may choose to take up or reject a request. Based on which if he/she chooses to accept a request he/she could directly approach the organization for blood donation. Also in this case, his/her contact details are made available to the organization to establish a contact, for any futher assistance.
- Landing Page
- Login/Signup Page
- Profile Page
- Inbox
- Request Generation
- Requests Status Panel
- User Authentication has been integrated into the frontend.
- Maps API has been integrated into the frontend.
- React
- Bootstrap
- Google Maps API
- Node
- Express
- MongoDB
- Mongoose
- JWT
- Bcryptjs
Clone the frontend and backend repositories, cd into them individually, and then follow the below mentioned steps for setting up backend and frontend seprately.
- Run
yarn install
. - Generate your Map API key using this link and replace it with the keys in index.html & Map.js files of frontend.
- Change backend port in App.js file if you change it in backend, by default the backend is setup to run on port 3000.
- Run
npm install
. - We used MongoDB Atlas for hosted database, you can have a local database if you want but we recommend using Atlas. If you are using Atlas replace your database link in keys.js file of backend.
- Set your JWT secret in keys.js file of backend.
Run npm start
in the Backend repo first and then in Frontend .