2025SELab2-project-Dwengo/backend
2025-03-22 18:50:22 +01:00
..
_i18n style: fix linting issues met Prettier 2025-03-04 20:46:27 +00:00
src refactor(backend): equality 2025-03-22 18:50:22 +01:00
tests refactor(backend): equality 2025-03-22 18:50:22 +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 style: fix linting issues met Prettier 2025-03-12 15:57:49 +00:00
package.json chore: Incrementeer pkg versie 2025-03-13 23:37:17 +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.