Skip to content

withpulp/mtr-hangouts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Hangouts

A prototype for testing Meteor and Google Hangouts API

Roadmap

  • Add tests
  • Setup build environment
  • Features
    • Automatically create hang-outs
    • Get particpant messages

Methods

  • render - render hangout upon click of hangout button
  • topic - prepopulates topic field for Hangouts
  • invites - invite people upon initiation of hangout
  • initial_apps - specifies apps to launch when user clicks hangout button
  • hangout_type - type of hangout: normal, inner, party, moderated)
  • widget-size - width of button

How to use

Requirements

Make sure Meteor is installed and up to date or run:

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

Installation

git clone [email protected]:withpulp/mtr-hangouts.git
cd mtr-hangouts

Run the following to get the bash file to work:

chmod +x ./run.sh

Now you can start the app with the following command:

./run.sh

Deployments

It is highly recommended to use Meteor Up for easy deployments. Have a look at the repository for more information.

Structure

Packages used

The "insecure" and "autopublish" packages are removed by default (they make your app vulnerable).

Folder structure

app/                # Application folder
  client/             # Client folder
    compatibility/      # Libraries which create a global variable
    config/             # Configuration files (on the client)
    lib/                # Library files that get executed first
    startup/            # Javascript files on Meteor.startup()
    stylesheets         # LESS files
    templates/          # Contains all templates
      layouts/            # Router layouts
      views/              # All the views
      modules/            # UI elements and components (i.e. forms, actions, etc...)
        common/             # Common components (i.e. header, footer)
        elements/           # Re-usable components
  collections/        # Collection files, for each Meteor.Collection
  lib/                # Lib files that get executed first
  packages/           # Packages folder (custom meteor packages, npm)
  private/            # Private files
  public/             # Public files
  router/             # All routes
  server/             # Server folder
    fixtures/           # Meteor.Collection fixtures defined
    lib/                # Server side library folder
    publications/       # Collection publications
    startup/            # On server startup
  tests/              # All tests
    client/             # client tests
      integration/        # integration tests
      unit/               # unit tests
    server/             # server tests
      integration/        # integration tests
      unit/               # unit tests
environments/       # Environments folder
  build/              # testing environment
  local/              # local environment
  production/         # production environment

License

This project has an MIT License, see the LICENSE.txt for more information.