Implementation of this Meteor advanced tutorial with simplified architecture. A complementary project for this one: https://github.com/YagoLopez/angular-meteor-1.3-boilerplate
- 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, models) - Server-side code is located in
/server/
directory (For example, Meteor methods) - Dependencies: main angular dependencies and imports are declared in the entry file:
/client/app.js
. The rest of the files only declare their own dependencies and the dependecy ofapp.js
. This way the main dependencies are only declared one time and propagated to the other files. Compare this architecture with the code of the original tutorial
- The demo is located at this url: https://meteorsocially.herokuapp.com/
- The demo is hosted at Heroku.com as a sleeping process. It needs to be booted so it can take some time to start.
- Database is hosted at mLab.com in a free sandbox so threre may be latency.
- You can log in with the following credentials: username: "usuario1@usuario1.com" and password: "usuario1" or you can create a user with new credentials.
- Logged users can do CRUD operations to manage parties
- Users can invite other users only to private parties
- Private parties are only visible to his creators
- Check the rest of the functional requirements at the original tutorial
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.
- Front-end: AngularJS 1.5.5 and EcmasScript 2015 (ES6)
- Back-end: Meteor 1.3 and NodeJS
- Database: MongoDB
- Realtime data: WebSockets
- Meteor Framework 1.3+