/restaurant-demo

A sample POC on using Nest JS to build a restaurant menu management system

Primary LanguageTypeScriptMIT LicenseMIT

Introduction

A sample restaurant menu management system, built with Nest JS. This is to understand and evaluate Nest JS as a framework.

What do I need to run it locally?

You need the following pieces of software in your system:

  • fnm, a Node version manager
  • yarn, a package manager and task runner

Installation

Switch to right Node version

$ fnm use # type Y if you don't have this version of Node, when prompted
$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod # builds and runs the ES5 output

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov