https://github.com/harkiratsm/wheels-server
REST API served to wheels
https://github.com/harkiratsm/wheels-server
docker expressjs mongoose nginx nodejs
Last synced: 3 months ago
JSON representation
REST API served to wheels
- Host: GitHub
- URL: https://github.com/harkiratsm/wheels-server
- Owner: harkiratsm
- License: mit
- Created: 2022-05-11T06:32:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T17:07:25.000Z (almost 4 years ago)
- Last Synced: 2025-02-09T04:46:35.759Z (over 1 year ago)
- Topics: docker, expressjs, mongoose, nginx, nodejs
- Language: JavaScript
- Homepage:
- Size: 346 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README

## 💥 Introduction
I have developed a REST API that I am going to serve for frontend i.e. food-client. At the moment, this API can handle restaurant, order, and image requests.
I built a REST API with Express.js, using MongoDB as a database to store the data, containerized my Nodejs app with Docker, and also used Nginx to load balance API requests.
### Table of Contents
- [Tech Stack](#tech-stack)
- [Installation Steps](#install-step)
- [Built With](#built-with)
- [Requirements](#requires)
## ⚙️ Tech Stack
The technologies I used to built this app.
- Nodejs
- Expressjs
## 🛠️ Installation Steps
1. Clone the repository
```bash
git clone https://github.com/harkiratsm/food-server.git
```
2. Change the working directory
```bash
cd food-server
```
3. For Development Environment
- Install dependencies
```bash
make server-setup
```
- Make sure you set all the environment variables under ```.env``` file.
- Run the docker-compose file
```bash
make docker-compose_dev
```
4. For Production [here](https://github.com/harkiratsm/food-server/blob/main/LEARNING.md#prod).
🚀 You are all set to go.
## 💻 Built With
1. Expressjs - Rest API
2. MongoDB - Database
3. Nodejs
4. Docker
5. Nginx - Load balancing api calls
## 🙋🏻♂️ Requirements
1. Docker Desktop
2. Nodejs
3. MongoDB
4. Postman - For testing api endpoints
## 📖 [License](https://github.com/harkiratsm/food-server/blob/main/License)