Skip to content

Examples of frontend frameworks and libraries using Typetron WebSockets

Notifications You must be signed in to change notification settings

typetron/websockets-examples

Repository files navigation

Typetron example using WebSockets

> **Note:** This project is a prototype in heavy development and not ready for production.

Start the backend

$ npm install
$ npm start

Start the frontend

Pick you favorite frontend technology. You can find the available example in the frontend directory

1. Angular

$ cd frontend/angular
$ npm install
$ npm start

Check the Angular app console on http://localhost:4200) to see the WebSockets message.

2. React

$ cd frontend/react
$ npm install
$ npm start

React will automatically open a browser window with the frontend app. Check you console to see the WebSockets message.

3. Vue

In progress

4. Webpack (just a simple website, with no frameworks)

$ cd frontend/webpack
$ npm install
$ npm build

After the build is done, webpack will output an index.js file in the /public directory. From here, all you have to do is to open the Typetron app (usually on http://localhost:8000) and check your console

About

Examples of frontend frameworks and libraries using Typetron WebSockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published