https://github.com/rishav394/bloodbank
A simple Blood Bank Web Application using Node JS and MongoDB
https://github.com/rishav394/bloodbank
blood-bank blood-bank-management ejs javascript nodejs web-development website
Last synced: 8 months ago
JSON representation
A simple Blood Bank Web Application using Node JS and MongoDB
- Host: GitHub
- URL: https://github.com/rishav394/bloodbank
- Owner: rishav394
- Created: 2019-08-30T11:03:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T17:46:40.000Z (about 3 years ago)
- Last Synced: 2025-02-02T01:32:20.034Z (over 1 year ago)
- Topics: blood-bank, blood-bank-management, ejs, javascript, nodejs, web-development, website
- Language: HTML
- Homepage: https://bloodbank-iwpda.herokuapp.com
- Size: 1.85 MB
- Stars: 31
- Watchers: 1
- Forks: 19
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Blood Bank
[](https://travis-ci.com/rishav394/bloodbank)




[](http://hits.dwyl.com/rishav394/bloodbank)
This is a simple Blood Bank Web Application I made for my assigment. Uses Node JS and MongoDB primarily.
## 📝 Table of Contents
- [About](#-about-)
- [Getting Started](#-getting-started-)
- [Testing](#-running-the-tests-)
- [Deployment](#-deployment-)
- [Built Using](#-built-using-)
- [Authors](#-authors-)
- [Acknowledgments](#-acknowledgements-)
## 🧐 About
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.
## 🏁 Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See [deployment](#deployment) for notes on how to deploy the project on a live system.
### Prerequisites
- Node > 8
- Git
- MongoDB > 3.0
### Installing
Clone the repo and install the dependencies.
```bash
git clone https://github.com/rishav394/bloodbank.git
cd bloodbank-master
```
```bash
npm install
```
### Running Locally
Create a new file in root directory `.env`
Copy contents from `.env.expmple`
Make changes if required.
```bash
npm start
```
### Populating database with sample data
Edit JSON files under `util` for dummy data
```bash
npm run populate
```
## 🔧 Running the tests
Still in todos
## 🚀 Deployment
Make changes in `.env`
1. Set `DBURI` to your remote mongoDB URI
2. Scale the PORT accounrding to your host/server
3. Change NODE_ENV to production for `Morgan`
4. Remove everything after `DEBUG=`
## ⛏️ Built Using
- [MongoDB](https://www.mongodb.com/) - Database
- [Mongoose](https://mongoosejs.com/) - MongoDB Wrapper
- [Express](https://expressjs.com/) - Server Framework
- [NodeJs](https://nodejs.org/en/) - Server Environment
- [VS Code](https://code.visualstudio.com/) - Awesome IDE
## ✍️ Authors
[@rishav394](https://github.com/rishav394) - Initial work
See also the list of [contributors](https://github.com/rishav394/bloodbank/graphs/contributors) who participated in this project.
## 🎉 Acknowledgements
- Hat tip to anyone whose code was used
- StackOverflow <3