CodeInBrowser
Presentation
code-server or Theia like cloud IDE.
This one is designed to be fast and responsive
on almost every devices with.
Developpement
Structure
Two folders: web
and server
. server
is the main folder. It contains the Express app that runs CIB. web
folder is the React project.
When we build the app, it builds React first, then move the bundle to the Express app in src/webapp
folder.
When we run CIB in developpment mode, src/webapp
isn't loaded. In developpment mode, we run Vite dev server and Express server at the same time.
Scripts
Global "/"
yarn dev
: Start the developpment server of CIB on port 3000 (React with proxy for Express which is on port 3005).yarn build
: Put bundled React app into Express and binaries in "/output".