npm run setup
npm run setup:win
Start server on http://localhost:8000
npm start
Code style should follow a certain set of rules. Make sure your code adheres to these rules before opening a PR.
Automatically fixes styling errors
npm run -s cs
npm run -s cs:win
Tests should be run before opening a PR.
npm run test
npm run test:win
Username | Password | Role |
---|---|---|
participant@mail.no | 1234 | ROLE_PARTICIPANT |
parent@mail.no | 1234 | ROLE_PARENT |
tutor@mail.no | 1234 | ROLE_TUTOR |
admin@mail.no | 1234 | ROLE_ADMIN |
When adding new images or other non-code files, you can run
npm run build
so that the files are put in the correct places. (this is automatically
done when doing npm start
)
npm run db:reload
npm run db:update