Skip to content

AI-powered app that assists teachers with creating and grading assessments, integrated with Google Classroom and utilizing OpenAI API.

Notifications You must be signed in to change notification settings

ntholi/fivedays

Repository files navigation

FiveDays

FiveDays is a NextJS app that uses Artificial Intelligence to assist lecturers in creating and grading assessments. This project is built with Next.js, TypeScript, Mantine, and the OpenAI API.

Project Banner

Features

  • AI-powered creation of assessments based on a provided course outline.
  • Automated grading of students' work using Artificial Intelligence.
  • Integration with Google Classroom to fetch student's work and publish their grades.

Getting Started

Prerequisites

  • Node.js
  • npm
  • An OpenAI API key
  • Google Classroom API credentials

Installation

  1. Clone this repository:
git clone https://github.com/ntholi/fivedays.git
  1. Install dependencies:
cd fivedays
npm install
  1. Add your OpenAI API key and Google Classroom API credentials to a .env file:
echo "OPENAI_API_KEY=your-api-key" >> .env
echo "GOOGLE_CLASSROOM_CREDENTIALS=your-credentials" >> .env
  1. Configure NextAuth.js. The GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET and JWT_SECRET environment variables are used to configure Google OAuth. You need to go to The NextAuth.js Google OAuth documentation to get your credentials. For more details see the NextAuth.js documentation for more information.
echo "GOOGLE_CLIENT_ID=your-client-id" >> .env
echo "GOOGLE_CLIENT_SECRET=your-client-secret" >> .env
echo "JWT_SECRET=your-jwt-secret" >> .env
  1. To generate a JWT_SECRET use the NextAuth.js secret generator. For more details see the NextAuth.js documentation for more information. You can also use a different secret for each provider by using the secret option in the provider configuration. Or run each of the following commands to generate a secret:
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
openssl rand -hex 32
  1. Run the development server:
npm run dev

Usage

(this will be updated as the project progresses)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

About

AI-powered app that assists teachers with creating and grading assessments, integrated with Google Classroom and utilizing OpenAI API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages