Skip to content

Simple Javascript front-end for Django Channels apps

License

Notifications You must be signed in to change notification settings

p13i/channel.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

channel.js

A simple socket.io-like Javascript front-end for Django Channels apps.

Django Channels and channel.js

NodeJS' socket.io provides the simplest client-side API for developing websocket-based real-time applications. Django Channels provides a simple and powerful backend API for managing real-time communications that easily ties in with Django's ORM. This project aims to provide a socket.io-like Javascript API for simple real-time applications.

Getting started

Simply add the following reference to your client-side HTML markup:

<script type="text/javascript" src="
https://raw.githubusercontent.com/k-pramod/channel.js/master/dist/channel.js"></script>

Or clone this repo and use the latest files from the dist directory.

Documentation

Check out this project's API and brief tutorial in the docs directory.

Example

This project features a fully-worked, front-to-back example that illustrates how channel.js and Django Channels tie in together. Find the source code in the examples/chatter directory where brief setup instructions can also be found.

Future work

Features to be implemented in the near future include:

Contributing

If you would like to propose new features, please use this repo's GitHub Issue tracker. If you would like to submit code to be included in future releases, please fork this repo and submit Pull Requests.


Pramod Kotipalli