The problem is available in this gist. There are 2 apps in this repository. The server is a mock data server which serves data using a GraphQL API from memory. The client application displays data from the server.
- Pagination and page size
- Sorting by post fields
- Filter posts by username
- Creating new posts
To check the solution, first start the server:
cd server
npm install
npm run start
And then start the client in another terminal window/tab/panel:
cd client
npm install
npm run start
The demo will be available in http://localhost:3000