This is a rework of https://github.com/HugoMendes98/Nx-NestJS-Angular.
This is still in progress.
| Code | Code coverage | Comment coverage |
|---|---|---|
apps/backend |
||
apps/frontend |
||
apps/office |
||
libs/common |
||
libs/front |
||
packages/angular |
||
packages/core |
||
packages/nest |
!! Description of your project !!
If you use (or want to use/try)
DevContainer, you can directly go here.
To develop this project, the following conditions are expected:
- NodeJS (>= 20) - Build/run applications
- The "real" version for the applications is in the nvmrc file, so nvm can be used:
nvm use
- The "real" version for the applications is in the nvmrc file, so nvm can be used:
- npm - Install dependencies and main executor for the "officials" commands of the project.
- docker - To build docker images and for development-server dependencies.
Development-server dependencies (database, mail server, ...) can be served with:
docker compose up DevContainer allows to develop in a IDE inside a docker with all above requirements satisfied.
It also gives to all developers an (almost) identical environment.
- IntelliJ IDEA
- VS Code - Summary:
- Install the Dev Containers extension
- Open the project as a
DevContainer
Note:
With VS Code, it also installs some extensions and configuration such as:
- Auto-format (
eslint)- Access to the development Database
- ...
Some commands to quickly run the applications:
Go here for more commands and related information.
Install the node packages:
npm installCreates the database and seed with a basic set of data:
npx mikro-orm migration:fresh --seed SimpleSeederAnd run the backend application:
npm run backend:startnpm run frontend:startnpm run office:startThe following are guides/instructions to contribute to the project:
- Git flow - How to submit changes to the project
- Development "guide" - How one should develop in this project