you must have at least Python Version 3.9
run the following command in the root directory of the repository:
yarn install:allyou can also run yarn install in each of the individual directories
run the following command in the root directory of the repository:
yarn lintyou can also run yarn lint in each of the individual directories
in the ./backend directory run the command:
yarn startin the ./frontend directory run the command;
yarn startNOTE: If you run into issues with eslint asking you to delete CR then simply run yarn lint in the ./frontend
directory and try starting the frontend once again
in the ./backend directory run the command:
yarn testto run all tests
For integration testing, we use Cypress. Before running the tests, make sure the backend is running.
cd ./backend
yarn start
cd ../frontend
yarn cy:run # runs tests in headless mode (terminal)
yarn cy:open # runs tests in interactive mode (GUI)See a run of the tests here. You may need to download the video to view it.