This is a Next.js project.
First, get a Clever Data API token. Create a .env file and add a variable called DAC_TOKEN. Please note that this project is using the Google Classroom Sandbox and the dev app 65b1bd709d5ec60001593ed0.
This project uses a small SQL database to keep track of assignments and their associated sections. I recommend creating an account with Vercel and connecting your GitHub account to then deploy to Vercel and use a SQL database. Instructions can be found here.
Once the project is deployed, you've initialized a SQL database in Vercel, and copied the database secret to your .env file, run the following command:
npm run seed
This will seed the database with some initial assignment and section data.
Next, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
See Clever's developer documentation for more guidance and examples on how to interact with the Clever API.