Skip to content

gerkirill/codepen-live-board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodePEN live board

To start locally

Implementation details

The server code is located in server.ts file. It serves static front-end files from the www/dist folder, provides REST API as well as websocket connection.

Front-end is built using parcel bundler.

The server grabs each participant code-pen each 5 seconds to check if it has been changed. If so - notifies all WS clients about that. After that - FE uses /fetch endpoint to load full-page version of the changed code-pen.

Articles I've used in order to create this

Examples of conversion of the pen URL to the full-page URL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published