2025SELab2-project-Dwengo/backend
2025-03-23 14:19:58 +01:00
..
_i18n fix: vertaling Basisprincipes van AI 2025-03-21 18:37:51 +01:00
src Merge branch 'dev' into refactor/linting 2025-03-23 14:19:58 +01:00
tests refactor: Cleanup 2025-03-23 14:02:11 +01:00
.env.development.example chore: PostgreSQL op 5431 2025-03-13 19:22:29 +01:00
.env.example Merge branch 'dev' into docs/swagger-autogen 2025-03-13 21:39:35 +01:00
.env.production.example chore: PostgreSQL op 5431 2025-03-13 19:22:29 +01:00
.env.test test: push de env file voor testen naar de repo en pas het pad aan in de setup-file om deze te gebruiken 2025-03-17 17:18:24 +01:00
.env.test.example ci: Frontend routing 2025-03-11 13:50:55 +01:00
config.js style: fix linting issues met Prettier 2025-03-13 18:28:43 +00:00
Dockerfile ci: Fix Swagger build 2025-03-13 23:35:57 +01:00
eslint.config.ts refactor: Cleanup 2025-03-23 14:02:11 +01:00
package.json refactor: Cleanup 2025-03-23 14:02:11 +01:00
README.md style: fix linting issues met Prettier 2025-03-13 14:30:15 +00:00
tsconfig.json docs(backend): Setup swagger-autogen 2025-03-07 20:17:53 +01:00
vitest.config.ts fix(backend): Fouten in isTransitionPossible en het opzetten van de testdata verbeterd. 2025-03-11 11:58:55 +01:00

dwengo-1-backend

Project setup

npm install

Setup the environment variables in a .env file in the root of the project. You can use the .env.example file as a template.

Development

npm run dev

Production

npm run build
npm run start

Tests

Voer volgend commando uit om de unit tests uit te voeren:

npm run test:unit

Keycloak configuratie

Tijdens development is het voldoende om gebruik te maken van de keycloak configuratie die automatisch ingeladen wordt.

Voor productie is het ten sterkste aangeraden om keycloak manueel te configureren. Voor meer informatie, zie de administrator-handleiding.