This is a Next.js project bootstrapped with create-next-app.
An SPA that presents an initial list of 20 posts, with the ability to click through to individual posts that show the full text. Shows a notification when a new latest post is found (every 10 seconds), and loads the next page of posts via infinite loading
-
Jest / React-testing-library:
npm run test -
Playwright:
npm run test:e2e
Setting your node version and installing:
nvm use && npm i
Build:
npm run build
Run:
npm run start
Open http://localhost:3000 with your browser to see the result.
- React version was bumped down to v18 as there were install and initialisation errors with redux/rtk