Skip to content

geeekgod/Blood-Line-Backend

Repository files navigation

BloodLine Backend

REST APIs for BloodLine mobile app.

Tech Stack 🗃





Installation Guide

  • Clone the Repo
git clone https://github.com/thisisrishabh22/Blood-Line-Backend.git
  • Change the directory to project
cd Blood-Line-Backend\
  • Install Packages

If using yarn as package manager

yarn

If using npm as package manager

npm install

Configuration for REST API

  • Create .env file in the root of project folder.
  • Store the MongoDB connection string in the .env as demonstrated in .env.example
  • Start the server

Development

  1. Using PM2
  • Make sure you have pm2 installed in your server
  • If using yarn as package manager
yarn
pm2 start server.js --name bloodline-api
  • If using npm as package manager
npm install
pm2 start server.js --name bloodline-api
  1. Using Docker
  • Make sure you have docker and docker-compose installed on your system

  • Build the Images

docker-compose build
  • Run the containers in daemon
docker-compose up -d



Contributors 🌟


Thanks goes to these people ✨✨:

Sumit Thakur
Sumit Thakur

💻
Rishabh Singh
Rishabh Singh

💻