Frontend repository for voluntary project in IDATT2105 full-stack application development
For information about how to run the project as a whole, see the full project documentation here.
To be able to communicate with the backend of this project using https, you need to create a folder named "certs" in the root directory and store your certificates here.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e
before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint