Skip to content

An AI-powered online JavaScript compiler that lets users write, execute, and get personalized feedback in real time. Built with React and Spring Boot, it uses AI to detect errors, suggest improvements, and enhance coding skills through adaptive learning.

Notifications You must be signed in to change notification settings

SharwanKunwar/UnpredictableCoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

💻 AI-Powered Online JavaScript Compiler

Build Status License React Spring Boot JavaScript AI


🧑‍💻 Author: Sharwan Jung Kunwar


🚀 Project Overview

AI-Powered Online JavaScript Compiler is an intelligent, interactive coding platform that allows users to write, execute, and receive personalized AI feedback on their JavaScript code — all in real time.

It combines a React frontend with a Spring Boot backend, integrated with an AI engine for smart error detection, learning suggestions, and performance tracking.

💡 Empowering developers to learn smarter, code faster, and grow stronger.


✨ Features

  • 🧠 AI-driven feedback for personalized learning
  • 💻 Interactive editor built with Monaco or CodeMirror
  • Real-time JavaScript execution in a sandboxed environment
  • 🔗 RESTful API for frontend-backend communication
  • 📊 Progress tracking & analytics dashboard
  • 📱 Modern and responsive UI

🧩 System Architecture

🖥️ Frontend (React.js)

  • User-friendly coding interface with live output display
  • Syntax highlighting, auto-completion, and real-time error display

⚙️ Backend (Spring Boot)

  • Handles code execution requests via REST APIs
  • Manages user authentication and data storage
  • Processes AI feedback and learning insights

🤖 AI Module

  • Learns from code submissions and identifies common mistakes
  • Suggests improvement tips and targeted exercises

🛠️ Tech Stack

Layer Technologies
Frontend React.js, javaScript, Monaco Editor
Backend Spring Boot, Java, RESTful APIs
Database PostgreSQL / MongoDB
AI Tools TensorFlow, scikit-learn
Deployment Docker, AWS / Render

🧠 AI Integration Plan

The AI module continuously improves through user interactions:

  1. User submits code.
  2. Backend executes and logs output/errors.
  3. AI model analyzes issues (syntax, logic, inefficiency).
  4. Personalized suggestions and exercises are generated.
  5. Over time, AI adapts to user performance trends.

🧩 The goal: Smarter code feedback that evolves with each learner.


🔮 Future Enhancements

  • 🌍 Multi-language support (C, Python, Java, javaScript)
  • 🏅 Gamification — badges, XP, and leaderboards
  • 👥 Community-driven features (code sharing, peer review)
  • 🧾 Style and optimization improvement suggestions
  • 🎙️ Speech-to-code accessibility

📁 Project Structure

ai-js-compiler/
├── frontend/ # React.js + javaScript
│ ├── src/
│ ├── public/
│ └── package.json
│
├── backend/ # Spring Boot REST API server
│ ├── src/main/java/
│ ├── src/main/resources/
│ └── pom.xml
│
├── ai-module/ # AI engine and datasets
│ ├── model/
│ ├── scripts/
│ └── dataset/
│
└── README.md


🧑‍🎓 Learning Goals

  • Improve beginner and intermediate JavaScript coding skills
  • Encourage self-learning through adaptive AI-based feedback
  • Bridge the gap between practice and understanding

📸 Preview (Coming Soon)

A sneak peek of the compiler interface will be added after deployment.


🧑‍💻 Author

Sharwan Jung Kunwar
Backend Developer • AI Enthusiast • Full-Stack Learner
📍 Kathmandu, Nepal

“Building tools that help developers learn smarter, not harder.”

🌐 GitHub
💼 LinkedIn (Add your link here)
📧 Email Me


🌟 Support & Contributions

If you like this project, please ⭐ star this repo — it helps a lot!
Contributions are welcome — feel free to fork, open issues, or submit pull requests.


📝 License

This project is licensed under the MIT License — free to use, modify, and distribute with attribution.


© 2025 Sharwan Jung Kunwar — All Rights Reserved

About

An AI-powered online JavaScript compiler that lets users write, execute, and get personalized feedback in real time. Built with React and Spring Boot, it uses AI to detect errors, suggest improvements, and enhance coding skills through adaptive learning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published