Skip to content

Example of a simple restaurant app using Node with NestJS and Angular frontend

Notifications You must be signed in to change notification settings

JAZZ-FROM-HELL/restaurant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mm-examples

Prepare DB:

With MySQL root user in default.env.json:
CREATE DATABASE restaurant_dev;
CREATE DATABASE restaurant_test;


Run:

Inside each app folder:

Server side - nest-restaurant-api

npm start:dev

Client side - angular-restaurant-app

ng serve --open


Test:

Inside each app folder

Server side unit test:

npm run test

Server side e2e test:

npm run test:e2e

Client side unit test:

ng test

Client side e2e test:

ng e2e
(Make sure nest-restaurant-app is running on port 3000)


Based on:

AUTH0 Example

NestJS Authentication / Authorization

Angular 8 - JWT Authentication Example & Tutorial

SQL TypeORM Example

Logging interceptors

NestJS Testing (Unit testing with Jest, e2e testing with Supertest)

NestJS Configuration

Angular Testing with Mocks (Jasmine, Karma)

Angular Forms Testing

Angular e2e testing with Proctrator


See also README.md in each project.

About

Example of a simple restaurant app using Node with NestJS and Angular frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published