Create a web application (React + Node.js) that implements web Linux Terminal connected to a locally running Docker container with Ubuntu.
- User opens the web app on http://localhost:3000
- Frontend initiates a web socket connection with backend
- Backend spawn ubuntu in docker and binds container's STDIN / STOUT using web socket with the frontend console.
- User is able to interact with a web console exactly like a real console. Linux commands like:
tail,cd,topshould be supported. - When the user closes the web console and server should terminate and remove the docker.
You can use any open-source libraries from NPM (like Xterm.js).
Client and Server should run with yarn start using the mono-repository. Please, use TypeScript for Server and Frontend.
- Code structure
- Security
- Code quality
- Fork this repository
- Implement functionality
- Create Pull Request
