/todo_app

Primary LanguageJavaScript

Context

This is a simple html app with some basic "TODO list" functionality.

user interface of the app

Instructions

Run the app

  • Navigate to the src/webapp folder
  • npm install
  • npm run start-server

Then you'll be able to navigate to the localhost:8080 in your browser and use the app.

Running tests

Unit tests (Jest)

  • Navigate to the src/webapp/api folder
  • npm install
  • npm run test

E2E tests (Cypress)

  • Navigate to the e2e/cypress folder
  • npm install
  • npm run test

Alternatively you could run npm run open to open Cypress UI and start the tests from there.

Note that the tests would fail if you are NOT running the todo app, see the instructions above ⬆️