This repository is being relocated here: https://github.com/heap-code/nna.
There you can view the latest updates and submit modifications.
A boilerplate structure for a backend, frontend and back-office applications.
Code | Jest coverage |
---|---|
libs/common |
|
libs/ng |
|
apps/backend |
|
apps/frontend |
|
apps/office |
App | Comment coverage |
---|---|
apps/backend |
|
apps/frontend |
|
apps/office |
This section should contain a description of the project.
As this is the base repository of the boilerplate,
all its "README
" is available here.
All other text are part of the boilerplate.
It can also use the specifications file to more technically describe the project.
To make this project working, the following conditions are required:
- docker (optional)
Some commands to quickly run the code:
See all the other commands.
Install the node packages:
npm install
Start a database:
docker-compose up db
Then run the backend
:
npm run backend:start
See more
backend
commands.
To init the database and add some default data:
npx mikro-orm schema:fresh -r --seed DbBaseSeeder
This completely resets the database. All existing data is lost.
npm run frontend:start
See more
frontend
commands.
npm run office:start
See more
office
commands.
To run the tests:
npm run test
To run the e2e
tests:
npm run test:e2e
See more global commands.
See the git flow to contribute.