Visualize the data of Cofacts fact-checking platform.
Copy .env.sample
to .env.local
and fill in the required environment variables.
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
The main branch of this repository is automatically deployed to https://dash.cofacts.tw
.
npm run lint
: Run eslint (includes prettier).npm run codegen
: Generates types for graphql queries. Useful when Typescript complains about.TypedDocumentNode<unknown, Variables>
for new or updated GraphQL queries.npm run build
andnpm start
: Generate production build and start, respectively.