Skip to content

ComplexData-MILA/veracity-eval-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

514adac · Mar 20, 2025
Mar 10, 2025
Feb 7, 2025
Mar 20, 2025
Nov 5, 2024
Nov 5, 2024
Feb 20, 2025
Nov 15, 2024
Dec 14, 2024
Dec 14, 2024
Mar 10, 2025
Mar 10, 2025
Nov 5, 2024

Repository files navigation

Misinformation Mitigation Project

Frontend

This is a Next.js frontend for the Misinoformation Mitigation project. To learn more about Next.js, take a look at the following resources:

Quick Start

Assuming npm is already installed, the project set up is quick and easy.

  1. Clone the repo
git clone https://github.com/ComplexData-MILA/veracity-eval-frontend.git
cd veracity-eval-frontend
  1. Create a .env file in the root directory and add the necessary environment variables. Use a .env.local for local development:
AUTH0_SECRET=${auth0SecretHere}
AUTH0_BASE_URL='https://veri-fact.ai/' or 'localhost:3000/'
AUTH0_ISSUER_BASE_URL='https://veri-fact.ca.auth0.com/'
AUTH0_CLIENT_ID=${clientIdHere}
AUTH0_CLIENT_SECRET=${clientSecretHere}
AUTH0_AUDIENCE='https://veri-fact.ca.auth0.com/api/v2/'
AUTH0_SCOPE='openid profile email offline_access'
NEXT_PUBLIC_API_URL='https://api.veri-fact.ai'
  1. Install dependencies
npm install
  1. Run project
npm run dev

Project will now be running on localhost:3000/

Dependencies

The frontend of the project uses typescript and sass throughout. Style modules are a mix of components and page-level styling.

Internationalization is handled by next-intl and at the time of writing, we are increasing use of our charting dependency, chart.js. Like most nextjs projects, linting is handled by eslint.

Project Overview

For more details on the project that are not specific to the frontend, please refer to the Project Overview wiki page.

For details relating to the Next.js project specifically there is wiki page here

API Specification

For detailed API documentation, please refer to the API Specification wiki page, or to the Swagger Docs.