Skip to content

Frontend repository for voluntary project in IDATT2105 full-stack application development

License

Notifications You must be signed in to change notification settings

EmilJohns1/idatt2105-project-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

535f03f · Apr 7, 2024
Mar 29, 2024
Mar 21, 2024
Apr 7, 2024
Apr 7, 2024
Apr 7, 2024
Mar 21, 2024
Apr 4, 2024
Mar 21, 2024
Apr 3, 2024
Mar 31, 2024
Apr 7, 2024
Mar 21, 2024
Mar 21, 2024
Apr 6, 2024
Apr 7, 2024
Apr 7, 2024
Mar 25, 2024
Mar 25, 2024
Mar 21, 2024
Apr 6, 2024
Apr 1, 2024
Mar 21, 2024

Repository files navigation

IDATT2105-PROJECT-FRONTEND

Frontend repository for voluntary project in IDATT2105 full-stack application development

idatt2105-project-frontend

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.

Frontend setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

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