How daryltanwk/chatordie2 works
ChatOrDie is a Meteor application combining account access, a global chat, and collaborative three-word story creation. The main user flow is login or registration, enter the home chat to send and view messages, or open the three-word area to create a story and append or remove segments. Routes gate authenticated pages and subscribe to stories; shared Meteor methods validate requests and persist chat and story data. The README is empty, so capability coverage is based on the supplied tree and excerpts; relationships for unsampled server publication and home setup are omitted.
Main entry points: MainRouteController.js Route dispatch · register_client.js Registration form · home_client.js Chat interface · misc_common.js Message methods
Components 18
Account access
- Login controls
client/misc_client.js - Registration form
client/register_client.js - Account validation
server/register_server.js - Account errors
COD_Errors.js - Meteor users
server/register_server.js
Global chat
- Chat interface
client/home_client.js - Message methods
common/misc_common.js - Chat errors
COD_Errors.js - Messages collection
common/misc_common.js
Three-word stories
- Story interface
client/threeword_client.js - Story methods
common/threeword_common.js - Story errors
common/threeword_common.js - Stories collection
common/threeword_common.js
Application routing
- Route dispatch
routecontrollers/MainRouteController.js - Home route
routecontrollers/HomeRouteController.js - Registration route
routecontrollers/RegisterRouteController.js - Story routes
routecontrollers/ThreeWordRouteController.js
Other components
- Visitor
Connections 22
- Visitor → Route dispatch: opens app
routecontrollers/MainRouteController.js - Route dispatch → Login controls: renders login
routecontrollers/MainRouteController.js - Route dispatch → Home route: redirects home
routecontrollers/MainRouteController.js - Route dispatch → Registration route: allows registration
routecontrollers/MainRouteController.js - Visitor → Registration form: submits details
client/register_client.js - Registration form → Meteor users: creates account
client/register_client.js - Account validation → Meteor users: checks usernames
server/register_server.js - Registration form → Account errors: shows errors
COD_Errors.js - Visitor → Login controls: enters credentials
client/misc_client.js - Login controls → Route dispatch: routes after login
client/misc_client.js - Home route → Chat interface: renders home
routecontrollers/HomeRouteController.js - Chat interface → Message methods: calls sendMsg
client/home_client.js - Message methods → Messages collection: writes messages
common/misc_common.js - Chat interface → Messages collection: reads messages
client/home_client.js - Message methods → Chat errors: throws errors
COD_Errors.js - Route dispatch → Story routes: routes stories
- Story routes → Stories collection: finds story
routecontrollers/ThreeWordRouteController.js - Story routes → Story interface: renders views
routecontrollers/ThreeWordRouteController.js - Story interface → Story methods: calls story methods
client/threeword_client.js - Story methods → Stories collection: writes stories
common/threeword_common.js - Story methods → Story errors: throws errors
common/threeword_common.js - Story interface → Stories collection: observes story
client/threeword_client.js