GithubHelp home page GithubHelp logo

angular-meteor-1.3-boilerplate's Introduction

angular-meteor-1.3-boilerplate

Angular-Meteor template as base for new projects.

Clone this repository to start a new angular-meteor 1.3 project with a simplified and clean architecture.

Using Meteor Framework in less than 100 lines of code is posible to create an application totally reactive, multiuser and with real time capabilities.

This template project consists of a typical "todo" app in wich users can work collaboratively creating tasks and seeing tasks other users create in real time. CSS styles are very basic.

It implements users and permissions management, so users must registrate and login to use the application.

The architecture and use of imports has been simplified for efficiency. (Compare the use of imports and angular dependencies in this code with the official tutorial):

The application uses Component Based Software Engineering (aka Web Components) to create reusable and structured code. The "todos list" is implemented by means of a web component: <todos-list></todos-list>

Architecture:

  • Client side code is located in /client/components/ directory (*.html templates, .js components, etc.)

  • Code shared by client and server is located in the /imports/ directory. (For example, collections)

  • Server side code is located in /server/ directory (For example, Meteor methods)

(Here you can get a more complete project with this simplified architecture)

Stack

  • Front-end: AngularJS 1.5.5 and EcmasScript 2015 standard (ES6)

  • Back-end: Meteor 1.3 and NodeJS

  • Database: MongoDB

  • Realtime data: WebSockets

Demo

The app is running HERE in a Heroku dyno, therefore it is not a forever-running process. After a period of time the process is shutdown and only when is visited by an user is launched again, so it can take some time to start.

You can login as username: "usuario1" and password: "usuario1" or create a new account

For testing the real time capabilities, open another browser version in incognito mode. Changes made by one user in the data are inmediately propagated to the rest of users (for example if an user delete a public task). Keep in mind privated taks are only visible to his owners.

Requirements for cloning and running the application

  • Meteor framework version 1.3+
  • Angular package for Meteor and other Meteor packages (included)

angular-meteor-1.3-boilerplate's People

Contributors

yagolopez avatar

Watchers

 avatar  avatar  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.