Install the dependencies...
cd blink-app
npm install
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To run tests:
npm run test
or
npm run test:watch
Next.js
swr
This library is great for fetching data and managing the state of the data, allows for easy caching and revalidation of data and optimistic updates.jest
react-testing-library
date-fns
jest-axe
for accessibility testing
If I had some more time, I would have done the following:
- Add more tests
- Add error handling
- Add more accessibility testing
- Add a better loading state
- Add more functionality to the API