Skip to content

maxentr/restaurant-api

Repository files navigation

Restaurant API

TODO

  • Add a limit rate to the API
  • ?

Pre-requisites

  • Node.js (I use v16.17.1)
  • MongoDB (I use v6.0.1)
  • Redis (I use v7.0.0)
  • ssh-keygen

Installation

After cloning the repository, run the following commands:

pnpm run init

It will install all the dependencies and create a jwt folder with keys in it (used for authentication).

Then copy each .env example file in the config folder and fill the variables.

Usage

To start the server, run the following command:

pnpm run start

API Documentation

The API documentation uses Swagger. To access it, go to http://localhost:3000/docs/.

Convention

This project use the following convention:

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors