- AI Code Explainer tool
- Steven Ennis following a FreeCodeCamp tutorial by Tapas Adhikary
- Express.js backend, a REST endpoint that talks to an LLM and integrated to a React 19 Frontend
- create an acount on Nebius and use this model openai/gpt-oss-120b
- Follow Backend ReadMe to set up and start the server
- Open new terminal and follow instructions on CodeTutor folder ReadMe file to set up and start frontend app
- Version control Git
- Create a folder on your machine
mkdir myproject cd myproject- Run
git clone https://github.com/Teatoller/codeSpell.git cd codeSpell- open code-spell-application in your chosen editor. For vscode enter
code .on terminal and press enter. git checkout maincd server
on the terminal run
- create .env file
touch .envadd API key from your Nebius AI account guided by the env.example in the server folder - run
yarn installon the terminal and then - run
yarn dev
Runs the app in the development mode.
Open http://localhost:4000.
POST: http://localhost:4000/api/explain-code
Payload raw JSON.
Example:
{
"language": "JavaScript",
"code": "function great(name) {\n return Hello, ${name}!;\n}\n\nconsole.log(great('Tapas'));"
}
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Copyright © 2025, Steven Ennis. Released under the MIT License