2025SELab2-project-Dwengo/backend
2025-03-13 15:24:40 +01:00
..
_i18n style: fix linting issues met Prettier 2025-03-04 20:46:27 +00:00
src Merge branch 'dev' into test/testen-voor-datalaag-#87 2025-03-13 14:54:57 +01:00
tests test: Fix merge 2025-03-13 15:24:40 +01:00
.env.development.example chore(frontend): Refactoring 2025-03-02 21:02:17 +01:00
.env.example Merge remote-tracking branch 'origin/dev' into chore/login 2025-03-09 23:42:38 +01:00
.env.test feat(backend): Repositories toegevoegd, databank unit-testbaar gemaakt. 2025-02-25 12:53:45 +01:00
eslint.config.ts style: fix linting issues met Prettier 2025-03-12 15:57:49 +00:00
package.json test: Fix merge 2025-03-13 15:24:40 +01:00
README.md Merge branch 'dev' into test/testen-voor-datalaag-#87 2025-03-13 14:54:57 +01:00
tsconfig.json style: fix linting issues met lint-action 2025-02-28 20:11:48 +00: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.