Skip to content

kunal-mandalia/cursor-based-pagination

Repository files navigation

cursor-based-pagination CircleCI

Cursor based pagination to handle sorting

Running locally

Start the API

  1. Clone and install dependencies npm install
  2. Start database with seed data docker-compose up
  3. Run api npm run dev
  4. See graphiql on http://localhost:8080/graphql

Start the web app

  1. cd web
  2. Run web app npm run start
  3. See web app on http://localhost:3000

Run tests

  1. Spin up database docker-compose up
  2. Run tests yarn test