A code editor with a back end for compiling code remotely. Written in node & react. Work in progress. No production environment is written at this time. The node server takes the written code from the React application and compiles it by spawning a docker container and running a generated script.
The application is developed in a Windows environment but should work on Linux as well.
- Node ^8
- MongoDB
- Docker
- Docker containers
A docker container for each language needs to be downloaded:
- Node
- Golang
- gcc
- Haskell
- Python
- Java
cd code-editor/server
yarn install
cd ../client
yarn install
To start the server:
cd server
yarn start
To start the dev server:
cd client
yarn start
Go to localhost:3000 in your browser after the dev server has started.
The server is running on port 3001.