Skip to content

gabehollombe-aws/aws-innovate-2019-todos

Repository files navigation

This is a simple TODO web app created with Create React React App and AWS Amplify.

Running this sample

  1. npm install

  2. amplify init (select no when prompted about existing environment, and enter your own desired environment name like dev)

  3. amplify push (select no when asked about generating code for the GraphQL API)

  4. npm start

  5. Create an account, verify your code emailed to you during account creation, and log in.

  6. Make some TODOs manually in the broweser or try running the end-to-end automated integration tests.

Running end-to-end tests locally

  1. Update src/tests/pages/signIn.js with the username and password you used to create an account above.

  2. npm run test:integration

Edit jest-puppeteer.config.js to toggle headless mode or to change the local dev server config.