How pratyushdev-codes/intelsy works
Project type and purpose
• This is a full-stack, cloud-based IDE (“Intelsy AI IDE”) with a React front end, a Node/Express back end, real-time collaboration via WebSockets, and serverless code execution using AWS Lambda and Docker.
• Key user flows:
• User loads the React app in the browser.
• Real-time code editing and whiteboarding via WebSockets.
• AI-assisted code suggestions and explanations.
• Serverless compilation/execution of code in containers.
File structure
• Top-level directories and files:
• src/ → React source.
• public/ & build/ → static assets and production bundle.
• backend/ → AWS Lambda function + dependencies (lambda_function.py, requirements.txt).
• server.js & socket.js (root) → Express WebSocket server for real-time sync.
• Dockerfile in backend/ → builds the remote code execution container.
• Patterns and configs:
• React single-page-application (SPA) structure under src/.
• Express + socket.io (or custom WebSocket) server in server.js/socket.js.
• AWS infra implied: API Gateway, Lambda, ECR.
• Build scripts in package.json.
README insights
• React front end → hosted via S3/CDN.
• WebSocket channel for live collaboration.
• API Gateway triggering Lambda for code execution.
• Docker images stored in ECR.
• Technical stack: React, Node/Express, CodeMirror, AWS (ECR, Lambda, API Gateway, WebSockets).