/nx-nest-angular-mongodb

This project is a POC Nestjs + Angular + MongoDB (Atlas)

Primary LanguageTypeScript

POC Nest.js + Angular + MongoDB (Atlas) using NX

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Generate code

If you happen to use Nx plugins, you can leverage code generators that might come with it.

Run yarn nx list to get a list of available plugins and whether they have generators. Then run yarn nx list <plugin-name> to see what generators are available.

Learn more about Nx generators on the docs.

Running tasks

To execute tasks with Nx use the following syntax:

yarn nx <target> <project> <...options>

Start Api and Angular app

To start api and angular app

yarn run:all

Start only api

To start only api

yarn run:api

Start only frontend

To start only angular app

yarn run:frontend

For other script, you can check on package.json file

N-B: To start the project, you must first have a mongo DB instance and configure the instance on the backend. The project is located in the apps/api folder