Skip to content

Pitchlyapp/meteor-live-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Chat with Meteor!

A simple live chat app written in Meteor

See the live demo. Just be nice!

How to Run

Clone this repo. If you don't already have Meteor, see https://www.meteor.com/install or just run:

curl https://install.meteor.com/ | sh

Then in your project directory, run:

meteor npm install
meteor

Open up http://localhost:3000/ and see the result. Trying opening in two different windows!


This app was largely made in just two hours, styling aside, and shows the power of Meteor and its real-time capabilities. This sample app covers a few key principles:

  • How to use Blaze Templates
  • How to publish/subscribe to data from the server
  • How to call methods on the server
  • How to insert data into MongoDB
  • How to deal with data reactively
  • How to use Meteor helpers
  • How to use Meteor events
  • How to import Meteor and NPM third-party packages
  • Basic backend validation using Meteor check
  • Restricting data access with Meteor.publish

Extra: In this app, we also deal with

  • Dates using the moment.js NPM package
  • Cookies using the Meteor mrt:cookies package

What this app does not cover:

  • Saving local state (aside from cookies)
  • Login or auth flows

If you're interested in learning Meteor and live in central Iowa, I am offering free courses to those eager to learn. Register here: http://iowacodeschool.com/

I will also be delivering a talk on Meteor, in which I'll be covering the making of this app on 04/09/18 at 6:30pm at the Forge in downtown Des Moines, put on by Des Moines Web Geeks. If you're not reading this too late, you can register for the event here.

If you would like to reach me directly, you can message me here.

About Pitchly

My name is Michael and I'm a Senior Product Engineer at Pitchly. We make it easy to record and manage information across your organization seamlessly, while providing the tools you need to action your data successfully. We use a lot of Meteor, GraphQL, and Apollo, and we are based in Des Moines, Iowa - the happiest place on Earth.

If you have a passion for Meteor, we're looking for engineers. Drop us a line if you're interested in working with us. We're good peoples.

Pitchly

Website - Twitter - LinkedIn