Skip to content

serpient/to-do-app

Repository files navigation

Quick Start

Create a .env.local file and add the api key:

REACT_APP_API_KEY=XXXX_API_KEY_HERE
git clone https://github.com/serpient/to-do-app.git
cd to-do-app
yarn install

# Start application
yarn start

# Jest Test
yarn run test

# Cypress E2E test
# Note - Please close the application server before running this as it will spin up its own
# Tests were written assuming access to localhost:3000
yarn run test:e2e

Screenshots

Happy State

successful load

Updating

updating flow

Error State

Easiest way to trigger this is to comment out the API_KEY (line 28) in the /to-do-app/src/utils/todoRequest.ts file error state