Skip to content

A Fullstack Online Code Executor for online coders with AI assistant and suggest code option based on the written code , output field and console for showing result

Notifications You must be signed in to change notification settings

hghyhghy/AI.Code_Executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Screenshot (102)

A brief description of what this project does and who it's for

a fullstack AI supported code editor , with code options for python,javascript,typescript, and go ... user also gets some features listed below

  1. Monaco code editor
  2. Support for python,js,ts,go
  3. Terminal for debugging/run
  4. Ai suggestions and auto complete
  5. Code share with unique link
  6. Real time code collaboration .

Acknowledgements

API Reference in this project

register / entry point for user

  POST/auth/register 
Parameter Type Description
api_key string Required. Your API key

signed up user can login from here

  POST /auth/login
Parameter Type Description
id string Required. Id of item to fetch

folder creating point for user

  POST/folder/create  
Parameter Type Description
api_key string Required. Your API key

file creating point for user

  POST/file/create  
Parameter Type Description
api_key string Required. Your API key

folder deletion point for user

  POST/folder/delete/{id}  
Parameter Type Description
api_key string Required. Your API key

file deleting point for user

  POST/file/delete/{id}/{folderName}  
Parameter Type Description
api_key string Required. Your API key

Appendix

Any additional information goes here

use technologies are

1.prisma - for connecting/interaction with DB

2.mysql - for database

3.monaco -for code editor

4.websocket - for realtime code collab

5.next js - frontend/UI

6.next js-backend/endpoints

7.tailwind - styling

8.geminiAi- for AI suggestion and autocomplete and code debug

9.jwttoken - for user authentication## Color Reference

Color Hex
Prisma code datasource db {
                provider = "sqlite"
                url      = env("DATABASE_URL")

}

                    generator client {
                    provider = "prisma-client-js"
                    } |

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Authors

Documentation

Nest js +prisma

Nest js + websocket

Nest js + database

Next js

Google Ai studio

Badges

Add badges from somewhere like: shields.io

MIT License GPLv3 License AGPL License

Features

  • Light/dark mode toggle

  • Live previews / dubug in console

  • AI suggestion

  • CORS enabled

  • real time code collab

  • share code using unique link

Tech Stack

Client: React, Next js , TailwindCSS , axios , monaco,react-icons

Server: Nest js ,prisma, MySql,websocket,GeminiApi,Jwt token

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_KEY_FOR_Ai:get your api key from googleAiStudio

ANOTHER_API_KEY

About

A Fullstack Online Code Executor for online coders with AI assistant and suggest code option based on the written code , output field and console for showing result

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages