{"id":9464741,"url":"https://github.com/theanujdev/code-playground-backend","last_synced_at":"2025-04-13T18:52:15.368Z","repository":{"id":239346049,"uuid":"375775746","full_name":"theanujdev/code-playground-backend","owner":"theanujdev","description":"Code Playground Backend server built with typescript, express, socket.io and mongoose(mongoDB).","archived":false,"fork":false,"pushed_at":"2022-06-08T12:30:34.000Z","size":63,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T09:41:07.710Z","etag":null,"topics":["cookie-parser","express","expressjs","mongodb","mongoose","nodejs","socket-io","theanujdev","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theanujdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-10T17:18:25.000Z","updated_at":"2024-08-04T23:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"71733e5d-5cbe-45b6-a859-56290f2c25ff","html_url":"https://github.com/theanujdev/code-playground-backend","commit_stats":null,"previous_names":["theanujdev/code-playground-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanujdev%2Fcode-playground-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanujdev%2Fcode-playground-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanujdev%2Fcode-playground-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanujdev%2Fcode-playground-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theanujdev","download_url":"https://codeload.github.com/theanujdev/code-playground-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248765988,"owners_count":21158296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cookie-parser","express","expressjs","mongodb","mongoose","nodejs","socket-io","theanujdev","typescript"],"created_at":"2024-05-11T18:14:06.819Z","updated_at":"2025-04-13T18:52:15.360Z","avatar_url":"https://github.com/theanujdev.png","language":"TypeScript","readme":"# Code Playground (Backend)\n\n![Code Playground Demo](https://raw.githubusercontent.com/theanujdev/code-playground-frontend/master/img/code-playground.gif)\n\n## Overview\n\nThis project provides a real-time cloud-based code sync and editing and website developing platform where you can create any code file. It will provide linting in editor and a basic terminal. Edit HTML, CSS and JS and preview your website in built-in web-renderer.\n\n## Tech Stack\n\n**Client:** React, Typescript, Monoco-editor, Socket.io-client, Xtermjs, React reflex\n\n**Server:** Node, Express, Typescript, Mongoose, Cookie-parser, Socketio\n\n## Features\n\n- Multiple resizable windows\n- Featured code editor\n- Create, update, delete files\n- Realtime cloud sync of code\n- Preview webpage\n- Built-in terminal with syntax-highlighting\n- Flexible and auto resizable components and clean user interface\n\n## Run Locally\n\n- Clone the project\n\n```bash\ngit clone https://github.com/theanujdev/code-playground-backend\n```\n\n- Go to the project directory\n\n```bash\ncd code-playground-backend\n```\n\n- Install dependencies\n\n```bash\nnpm install\n```\n\n- Create a new file `.env`. Copy all the content from `.env.example` and paste it into `.env`. Change the following environment variables in your `.env` file\n\n  `DB_URL`, `APP_PORT`, `COOKIE_SECRET`, `WEB_URL`\n\n- Start the server\n\n```bash\nnpm run dev\n```\n\n\u003e **Note:** Make sure to run **MongoDB** server in the background.\n\nYou need to run [Code Playground Frontend](https://github.com/theanujdev/code-playground-frontend) to use it.\n\n## Optimizations\n\nCode is refactored and project structure is optimized for scalability. Routes, controllers, models, middlewares are all separated. Few utility classes and functions like _debounce_ have also been used.\n\n## Screenshots\n\n![App Screenshot](https://raw.githubusercontent.com/theanujdev/code-playground-frontend/master/img/code-playground.png)\n\n## Feedback\n\nIf you have any feedback, please reach out at [@theanujdev](https://twitter.com/theanujdev)\n\n## Authors\n\n- [@theanujdev](https://www.github.com/theanujdev)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","funding_links":[],"categories":["typescript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanujdev%2Fcode-playground-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheanujdev%2Fcode-playground-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanujdev%2Fcode-playground-backend/lists"}