Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Basic meteor app I've built that showcases pub/sub, templates and events and helpers.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.meteor
public
README.md
chatapp.html
chatapp.js
chatmanager.html
chatmanager.js
chatroom.html
chatroom.js
chatuser.html
chatuser.js
settings.js
styles.css

README.md

The basic structure is:

Chatapp: Controls the entire app, the root node of the application

Newuser: Controls a user creating their name - new securuty is being used, just whatever name they want

Chatmanager: Controls creating a channel, switching channels and logging out of the system

Chatroom: Controls the chatroom the user is currently subscribed to.

Settings: Configuration driver data can be added here

DB Collections:

Users: A container of users that are logged in

Chatrooms: A list of all chatrooms in the system

Chatroom: The chatroom currently being used

These are all published by the various controllers

Session Variables

userid: used to track the users unique ID

current_room: used to manage which room the user is in

username: used to track the users name

This is a very basic and prototypical structure. The next phase is to create a more proper DB schema for better performace. Currently the system would have a hard time under a large load as no keys have been set and the Chatroom collection can grow very rapidly as it contains all the messages.

Something went wrong with that request. Please try again.