Skip to content

satanTime/nx-nestjs-angular-graphql

Repository files navigation

Dockerized Nx application with NestJS and Angular which are connected via Graphql and NGRX

The repo provides:

  • a preconfigured Nx application
  • which uses NestJS and Angular
  • has configured unit and e2e tests
  • and is ready for CircleCI CI/CD integration

Docker

To run the application, please ensure that you have docker and docker-compose installed locally.

  1. Then simply execute

    docker-compose up --build
  2. Wait a bit until backend and frontend have been successfully compiled

  3. Open http://localhost in a browser

  4. Profit

Nx

Nx is backed with:

NestJS

NestJS is backed with:

Angular

Angular is backed with:

SSO

Keycloak is backed with:

  • An app user with a username user and a password user
  • A master user with a username admin and a password admin on http://localhost/auth/admin

Email Catcher

smtp4dev which can be accessed on http://localhost/tools/emails/

CircleCi

CircleCI is backed with:

  • Checking lint on backend
  • Executing unit tests on backend and collecting reports via junit.xml and lcov.info
  • Building backend