To install dependencies
- Open a terminal instance
- Navigate to the root directory
- Run the command npm run install-dependencies
To add AI functionality
For security reasons we did not include the id and keys of our own AI, so in order to with the OpenAI Assistants create a new file called .env located in the /server directory and add the following.
OPENAI_API_KEY=<Your OpenAI Key>
CODE_GENERATOR_ASSISTANT_ID=<Your generator assistant key>
CODE_EXAMINER_ASSISTANT_ID=<Your examiner assistant key>
To use our app
- Open a new terminal instance
- Navigate to the
/serverdirectory - Run the command
npm run startto start the backend server - Open a new terminal instance
- Navigate to the
/clientdirectory - Run the command
npm run startto start the frontend server - This should open a tab in your browser with the url
localhost:3000containing the home page of our project.
