This is a simple Blood Bank Web Application I made for my assigment. Uses Node JS and MongoDB primarily.
Blood Bank is a very simple yet functional and secure Blood Bank Web Application.
If you are familiar enough in a beginner level with Node JS
and mongoose
this is a good project to clone and try to replicate.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Node > 8
- Git
- MongoDB > 3.0
Clone the repo and install the dependencies.
git clone https://github.com/rishav394/bloodbank.git
cd bloodbank-master
npm install
Create a new file in root directory .env
Copy contents from .env.expmple
Make changes if required.
npm start
Edit JSON files under util
for dummy data
npm run populate
Still in todos
Make changes in .env
- Set
DBURI
to your remote mongoDB URI - Scale the PORT accounrding to your host/server
- Change NODE_ENV to production for
Morgan
- Remove everything after
DEBUG=
- MongoDB - Database
- Mongoose - MongoDB Wrapper
- Express - Server Framework
- NodeJs - Server Environment
- VS Code - Awesome IDE
@rishav394 - Initial work
See also the list of contributors who participated in this project.
- Hat tip to anyone whose code was used
- StackOverflow <3