Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 931 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 931 Bytes

Todo App

todo

Running the app

Clone this repo using:

git clone https://github.com/shansm/todo-app.git
cd todo-app

Install all dependencies with:

npm i

Now you'll need a backend API. I recommend json-server along with todos-list.

Once the backend is up and running you can now run this app with:

npm start

It will start a local server using webpack-dev-server and then head over to http://localhost:8080.

Testing

1. Unit Tests

  • single run: npm test
  • live mode (TDD style): npm run test-watch

2. End-to-End Tests (aka. e2e, integration)

  • in a tab, if not already running!: npm start
  • in a new tab: npm run webdriver-start
  • in another new tab: npm run e2e