Purpose of this project is to test the ongoing increasing demands of the ACME backend API and servers.
Website: https://acme-news.vercel.app/
- Clone repo to your local
- cd into root of project and install all packages:
npm i
oryarn add
- Run project locally:
npm run dev
oryarn dev
- Run
npm run build
oryarn build
- Run
npm run start
oryarn start
Located in the bottom left of the running project, is a red react logo. If you click that, it will open the react-query dev tools, where you will be able to trace the relevant cache queries for both the page and post queries.
There is a comment I've left in the pages/articles/[id.tsx]
file to do with having to use SSR for that page. I hope it makes sense, but feel free to shoot me a question if it doesn't make any sense.
TypeScript: I've added a few types here and there. But it is incomplete. Therefore, I have disabled type checking when running a local build.
- NextJS with TypeScript
- React Query
- Emotion
- Axios
- React Icons