This is a Next.js project bootstrapped with create-next-app
.
First install fakeql-cli than run command:
fakeql-cli sampledata.json
sampledata.json file is given in project directory
After running the above command you will get a uri, deploy it to fakeql.com
Replace that uri with apollo client uri in file - /pages/_app.tsx
run command:
npm install
run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.