/beer_cart

Primary LanguageTypeScript

Toss Homework

Client for Toss Homework!

Development

Requirements

  • node v8.11.2
npm install

Prerequisite

To test the client, Mock API server must be prepared. This project uses json-server as Mock API server.

npm start server

Run with Dev server

npm start

Run Test Suite

npm run test

Testing UI

While dev server is running, open chrome with http://localhost:3000
Open chrome Dev tool and make sure to set mobile device mode
2018-09-12 12 23 03

Things to improve (Need more time!!!)

  • Politely display unexpected Error with Modal
  • Refactor code for more readability and maintainability
  • Add unit test with Jest
  • Add E2E test with cypress