The FeedbackAI Tool Frontend is a web application designed to assist teachers in providing feedback on student assignments using OpenAI's API. The system allows teachers to create template solutions, manage courses, and review student submissions.
Final Submission: Students can submit their revised assignments for final review by the teacher.
Login:
Navigation:
READ THIS PLEASE!!!
We're using environment variables to configure stuff. You're expected to create a .env
file in the root of the project and set this variable.
VITE_BACKEND_URL=http://localhost:8080
A full example is provided in example.env
.
THIS IS A BREAKING CHANGE! It wasn't like this before!
By default, environment variables that are undefined should default to CONFIG_<VARIABLE_NAME>
. This is important for deploying using Docker. You can use this snippet as a reference:
const API_URL = import.meta.env.VITE_BACKEND_URL ?? "CONFIG_BACKEND_URL";
// This is to get the env var if null, return CONFIG_BACKEND_URL
docker build . -t feedbackai-frontend
docker run -e CONFIG_BACKEND_URL='http://localhost:8080' -p 3000:80 feedbackai-frontend