RoastMyCode
Paste your code. Get roasted by AI.
RoastMyCode is a full-stack web app that analyzes user-submitted code and generates a humorous but helpful AI code review. The system evaluates the code, assigns a quality score, explains what’s wrong, and suggests improvements.
This project was during a hackathon as a AI developer tool using React, Express, and the OpenAI API.
- React
- JavaScript
- CSS
- Node.js
- Express.js
- OpenAI API
- User pastes code into the textarea.
- Frontend sends a POST request to the backend.
- Backend builds a structured prompt for the AI.
- OpenAI analyzes the code and returns JSON.
- Backend parses the JSON response.
- Frontend displays the roast results.
cd backend
npm install
cd frontend
npm install
npm start