Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geeekgod/blood-line-backend

Backend For BloodLine mobile app
https://github.com/geeekgod/blood-line-backend

express mern mobile mongodb mongoose node nodejs rest-api

Last synced: 15 days ago
JSON representation

Backend For BloodLine mobile app

Awesome Lists containing this project

README

        

# BloodLine Backend

REST APIs for BloodLine mobile app.

## Tech Stack 🗃









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

If using yarn as package manager
```sh
yarn
```
If using npm as package manager
```sh
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
```sh
yarn
pm2 start server.js --name bloodline-api
```
- If using npm as package manager
```sh
npm install
pm2 start server.js --name bloodline-api
```

2. Using Docker

- Make sure you have docker and docker-compose installed on your system

- Build the Images
```sh
docker-compose build
```
- Run the containers in daemon
```sh
docker-compose up -d
```



## Contributors 🌟


Thanks goes to these people ✨✨:



Sumit Thakur
Sumit Thakur

💻
Rishabh Singh
Rishabh Singh

💻