From the project root:
# Install dependencies
yarn
# Start server(s) on port 3001
yarn dev
Navigate to [http://localhost:3001]
yarn build
yarn test
Given more time I would look at the following:
- Error handling for bad API responses
- Not build an SPA for this…a page refresh is acceptable after form submission
- Add masking or something to make the input look nicer
- Add better messaging to the user
- Hook up sass or some better style/design system
- More tests
- Better testing setup, e.g. Typescript for jest