Skip to content

askurat/users-dashboard

Repository files navigation

Users Dashboard

Check out the demo: users-dashboard

p.s. The theme is picked based on system preferences but can be changed.

Installation

npm install

Trying it out

npm run schema
npm run types
npm start

Scripts

npm run schema

Executing npm run schema in terminal will run the following command

apollo client:download-schema --endpoint=https://uyx9x.sse.codesandbox.io ./src/schema.json

It will download a remote schema and save it as schema.json inside ./src/ directory.

To see detailed explanation of what each flag does - please refer to official documentation on apollo client:download

npm run types

Executing npm run types in terminal will run the following command

apollo client:codegen ./src/__generated__/types.ts --outputFlat --includes=./src/**/queries.ts --addTypename --localSchemaFile=./src/schema.json --target=typescript

It will generate types based on ./src/schema.json and place them in ./src/__generated__/types.ts.

To see detailed explanation of what each flag does - please refer to official documentation on apollo client:codegen

About

Show user dashboard to calculate points and top users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published