GithubHelp home page GithubHelp logo

ogayanfe / websandbox Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 769 KB

An online frontend programming sandbox with integrated browser with live reloading built using react, react-dom, django and the webcontainer api

Home Page: https://websandboxx.netlify.app

License: GNU General Public License v3.0

Python 22.62% JavaScript 0.67% HTML 0.55% CSS 0.08% TypeScript 76.07%
code-editor django django-rest-framework full-stack ide javascript online-editor python react react-router remote-code-execution rest-api typescript web-development webcontainers browser

websandbox's Introduction

Websandbox - Code. Experiment. Create. The Online Sandbox For Your Programming Ideas.

Build your web application completely on the web. With html, css, javascript and typescript support by default.

websandbox-home-light

Project Demo

Project Features

  • A code editor.
  • Live reloading.
  • A browser for viewing project output.
  • Ability to save your project.
  • Ability to view other users work.
  • Login and Logout.

Tools

  • Python
  • Typescript
  • Django and Django rest framework
  • React
  • Vite
  • React router
  • Webcontainers
  • Tailwind css
  • Material ui and Material ui icons

Setting up locally

  • Clone the project to your local computer using git via command git clone https://github.com/ogayanfe/birdie.git. You can simply download the zip folder and unzip if you don't have git installed.
  • cd into the application folder using your terminal.
  • cd into the backend direcory via the command cd backend.
  • You can create and activate a virtual environment here.
  • cd into the backend directory and run the command python3 install -r requirments.txt or python install -r requirements.txt on windows to install requirements.
  • You will lead to provide the following environment variables in your prduction environment.
    1. SECRET_KEY - Your django secret key. COMPULSORY.
    2. DEBUG - Whether the code should run in debug mode. It's value is either True or False. Defaults to True
    3. AWS_ACCESS_KEY_ID - Your AWS access key id.
    4. AWS_SECRET_ACCESS_KEY_ID - Your AWS secret access key id.
    5. AWS_STORAGE_BUCKET_NAME - Your AWS bucket name.
    6. USE_S3 - Whether the project should use aws s3 storage. It's value is either True or False. Default to !DEBUG
  • Run the command python3 manage.py migrate or python manage.py migrate on windows to load the database.
  • Run the command python3 manage.py runserver or python manage.py runserver on windows to start the django development server.
  • Go back into the root folder of the repo and cd into the websandbox folder with command cd websandbox
  • Run the command npm install to install requirements
  • Run the command npm run dev to start the react development server.
  • Navigate to the url localhost:5173 on your browser

License

Licensed under GPL-3.0

Image Galary

Landing Page

websandbox-home-light websandbox-home-dark

Dashboard

websandboxx netlify app_dashboard_ (3)
websandboxx netlify app_dashboard_ (1)

Demos

websandbox-demos-light
websandbox-demos-dark

Sandbox Editor

websandbox-editor-light
websandbox-editor-dark

Sandbox Editor with output

websandbox-editor-project-light
websandbox-editor-project-dark

websandbox's People

Contributors

ogayanfe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.