Skip to content

harkiratsm/wheels-server

Repository files navigation

food-server

💥 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

The technologies I used to built this app.

  • Nodejs
  • Expressjs

🛠️ Installation Steps

  1. Clone the repository
git clone https://github.com/harkiratsm/food-server.git
  1. Change the working directory
cd food-server
  1. For Development Environment
  • Install dependencies
make server-setup
  • Make sure you set all the environment variables under .env file.

  • Run the docker-compose file

make docker-compose_dev
  1. For Production here.

🚀 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