Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/geeekgod/blood-line-backend
- Owner: geeekgod
- Created: 2022-09-09T16:03:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T02:10:29.000Z (over 1 year ago)
- Last Synced: 2024-11-26T23:02:17.101Z (26 days ago)
- Topics: express, mern, mobile, mongodb, mongoose, node, nodejs, rest-api
- Language: TypeScript
- Homepage:
- Size: 1.05 MB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 PackagesIf 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 ✨✨: