https://github.com/keyur-gondaliya/codedamn-lite
Cloud base Sandbox environment for various frameworks and languages powered by Docker Containers. (Backend is down)
https://github.com/keyur-gondaliya/codedamn-lite
docker nextjs nodejs s3-bucket socket-io typescript
Last synced: 3 months ago
JSON representation
Cloud base Sandbox environment for various frameworks and languages powered by Docker Containers. (Backend is down)
- Host: GitHub
- URL: https://github.com/keyur-gondaliya/codedamn-lite
- Owner: Keyur-Gondaliya
- Created: 2024-04-22T08:34:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T12:08:18.000Z (about 2 years ago)
- Last Synced: 2025-01-10T19:46:31.946Z (over 1 year ago)
- Topics: docker, nextjs, nodejs, s3-bucket, socket-io, typescript
- Language: TypeScript
- Homepage: https://codedamn-lite.keyur-gondaliya.tech/
- Size: 1.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codedamn Lite
Codedamn Lite is a powerful development environment that allows users to select their preferred environment and run code securely within docker containers on cloud.
# High Level Architecture
[![IMAGE ALT TEXT HERE]()](https://youtu.be/ZWVq66HgEQQ)
## Container Creation Steps (Deep Dive)
Click Create* : Assigning Default boilerplate files.
Request Container* : Get available port and create container.
Get dedicated container* : user request for file to server, server fetch it from s3 and send one copy to user and one to update docker container.
Connect Container* : Connect container terminal to browser.
Editor setup* : Config Monaco Editor.
Finalize Playground* : Re-validation and Browser view(If Exists).
# Project Setup
## Requirements
Before you proceed with setting up Turbo Code Sandbox, ensure you have the following dependencies installed:
Node.js (>=22.x)
Docker
## Docker
After Installing Pull Below Docker images to your system.
$ docker pull keyurgondaliya403/react-codedamn
$ docker pull keyurgondaliya403/node-codedamn
$ docker pull keyurgondaliya403/python-codedamn
Now Run below commands sufficient permissions to access Docker.
$ sudo usermod -aG docker $USER
$ newgrp docker
## Getting Started
### 1. Clone the Repository
git clone https://github.com/Keyur-Gondaliya/codedamn-lite.git
### 2. Install Dependencies
$ cd codedamn-lite/server
$ npm install
$ cd codedamn-lite/client
$ npm install
### 3. Environment Configuration
Create a .env file in the apps/server and apps/client directory based on the provided .env.example file. Update the environment variables as per your configuration.
### 4. Run
Go to the root and run
$ npm run dev
### 5. Ruuning Urls
Frontend : http://localhost:3000/
Backend : http://localhost:3001/
# Contributing
We welcome contributions to Codedamn-lite! Feel free to submit bug reports, feature requests, or pull requests through GitHub.
# License
This project is licensed under the MIT License.
#### **_ Feel free to customize the README further based on your project's specific details and requirements. Let me know if you need any further assistance! _**