GithubHelp home page GithubHelp logo

meteor-chat's Introduction

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

meteor-chat's People

Contributors

riatzukiza avatar michaelcbrook avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.