TaniaMalhotra / test-automation-submission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blood Bank

           Build Status GitHub package.json version GitHub last commit GitHub repo size GitHub language count HitCount           

This is a simple Blood Bank Web Application I made for my assigment. Uses Node JS and MongoDB primarily.

πŸ“ Table of Contents

🧐 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 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.

git clone [link]
cd bloodbank-master
npm install

Running Locally

Create a new file in root directory .env Copy contents from .env.expmple Make changes if required.

npm start

Populating database with sample data

Edit JSON files under util for dummy data

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

πŸŽ‰ Acknowledgements

  • Hat tip to anyone whose code was used
  • StackOverflow <3

About


Languages

Language:HTML 36.4%Language:CSS 32.3%Language:EJS 14.2%Language:JavaScript 14.1%Language:Python 2.9%Language:Shell 0.1%Language:Procfile 0.0%