Code Monkey home page Code Monkey logo

food-server's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.