Code Studio is an open source live front end code editing app. It lets you write html, css and javascript and see the results live.
Code Studio is a project that started as a learning exercise. The editor area is named the Control-Room, the preview area, Live-Room and code sessions go by the name Track sticking with the recording studio theme, hence the name Code Studio.
/
- Looks for track id in query,if found, renders with track, else, renders empty, else, creates new id.
/new
- Creates new uniqid for new track and redirects to
/?is=
new id
- Creates new uniqid for new track and redirects to
/save-current-track
- Initial save from Login to Save, saves the code and title with the users githubId to DB.
- This is the only call that pulls the track id from req.body.id vs req.query.id.
/update-track
- Update track. Simalar to
/save-current-track
but the track id comes from query.
- Update track. Simalar to
/update-title
- For title change, save only the title
/track-data
- To use in place of rending page with this data