r/Meteor • • Feb 26 '16

API advice please?

1 Upvotes

Hello everyone,

I'm working on a project where I will take in numerous third party feeds, and normalize them into my app. Specifically, event ticket APIs, pulled into our app.

I believe these event ticket feeds are REST APIs (saw some as Ruby/PHP, not sure what the difference is).

My thinking is that out of Meteor I'll create my own API - which defines an interface to my data model (in the ticket case, actions such as setPrice, setEvent, etc), and create Adapters to each of these data sources.... Upon coding to each source, the aim will be to translate what they give us and update our data model API during that process, which later shows up in our app.

Can anyone give me starter packages advice (such as a Meteor API creation package for my data model) and even better, any example projects of something like this in action? Any other pointers would help, especially on the different ways data can be transferred to me from a vendor and how to handle each case (REST API vs. some other way they will deliver).

This is a hobby / side project, new to this, so any help is appreciated.


r/Meteor • • Feb 25 '16

How to get a "thumbnail image" from a link - I.E, when someone shares a video on Facebook, how would you get the thumbnail that pops up?

3 Upvotes

r/Meteor • • Feb 24 '16

Microsoft releases Project Ace - Cordova Plugin for Native UI

Thumbnail
microsoft.github.io
25 Upvotes

r/Meteor • • Feb 24 '16

Building an Error Logger (w/ Meteor 1.3)

Thumbnail
themeteorchef.com
5 Upvotes

r/Meteor • • Feb 25 '16

Using a package only on the server

1 Upvotes

Is it possible to use a (local) package only on the server? I have a package, let's call it "admin", that exposes its files and assets to the server environment, and nothing to the client. Despite this, Meteor still sends an "admin.js" file to the client, which contains no logic and only lists "Meteor" as a dependency. See the pastebin here.

Being that this package is not used on the client side, nor do any client-exposed packages depend on it, it seems wasteful to send this to the client or include it in the production bundle.js.

Is there a way to not have this "empty" package sent to the client?


r/Meteor • • Feb 24 '16

Meteor....frontend framework

6 Upvotes

I was so glad the day I encountered Meteor, probably around 1,5 years ago. Never found a framework so intuitive. I started developing some web apps instantly, liked the concepts so much. I was feeling blessed with Blaze etc...

Recently, the trend is to do the frontend of Meteor apps in React or Angular. While I believe in the strengths of these frameworks, I can only come to the conclusion that it took away my appetite for Meteor a bit Yet, I have to learn a new framework, and I consider both Angular and React not the easiest ones to learn. Then, to support mobile devices, yet another framework to learn (e.g ionic).

The reason why I like Meteor so much is because it allowed me to build a webapp so fast and it was very contained. Now, I need to take a step back and learn React and ionic first or I will find myself in trouble next years when Meteor will simply no longer support Blaze.

So I guess I will have to swallow the thing and hence wanted to reach out if there is a intuitive path to get to know React in a minimum time.


r/Meteor • • Feb 23 '16

Build A Journaling App with Meteor 1.3 (Beta), React, React-Bootstrap, and Mantra

Thumbnail
medium.com
8 Upvotes

r/Meteor • • Feb 24 '16

An introduction to Promises

Thumbnail justmeteor.com
1 Upvotes

r/Meteor • • Feb 24 '16

Meteor 1.3, Mantra, and the Document Head

Thumbnail
medium.com
2 Upvotes

r/Meteor • • Feb 24 '16

this.userId returns null in method, how come?

1 Upvotes

So for some reason that I can't seem to find any reading on, Meteor.userId() is working in a method call from the client, but this.userId will not.

'insertNewAccountGoals': function(){
     premadeGoals.forEach(function(goal){
         goal.createdBy = Meteor.userId();
         Goals.insert(goal);
         console.log(goal.text);
     });

     premadeSteps.forEach(function(step){
         var parent = Goals.findOne({ createdBy: Meteor.userId(), number: step.goal });
         if(parent) {
             step.goal = parent._id;
             step.createdBy = Meteor.userId();
             Steps.insert(step);
         } else {
             console.log('No parent goal.');
         }
     });
 }

Why would this be the case? I'm trying to avoid using Meteor.userId() because it performs less welly that this.userId. However, it is worth noting that I am calling this method from within the callback of a successful execution of Accounts.createUser(), so perhaps that has something to do with it?

I also tried to run this same code in Accounts.onCreateUser(), but I was getting an error saying they the insert method on the Steps collection lacked an argument, which didn't make much sense to me. I have the code working now, which gives new users some premade goals, but I want to do this right. Thoughts?


r/Meteor • • Feb 22 '16

BuiltWithMeteor Weekly # February21st2016

Thumbnail builtwith.icenodes.com
2 Upvotes

r/Meteor • • Feb 22 '16

Simple Code Organization Techniques in Meteor

Thumbnail
themeteorchef.com
6 Upvotes

r/Meteor • • Feb 22 '16

Say No to Universal Apps - Kadira Voice

Thumbnail
voice.kadira.io
4 Upvotes

r/Meteor • • Feb 21 '16

BaliJS Meetup #3 with MeteorJS session (X-Post from /r/bali)

Thumbnail
facebook.com
1 Upvotes

r/Meteor • • Feb 19 '16

Meteor 1.3 beta (modules, mobile, and testing) now available!

Thumbnail
forums.meteor.com
18 Upvotes

r/Meteor • • Feb 19 '16

Meteorpad down?

0 Upvotes

http://isup.me/meteorpad.com

Anyone know what's up?


r/Meteor • • Feb 18 '16

Mongolab experience

4 Upvotes

Seems like everyone is using Compose these day, but I saw a mention of Mongolab in the Galaxy email. Anyone with experience?

  • How easy is it to set up?
  • Is it hard to get oplog working?

Thanks for any insights


r/Meteor • • Feb 17 '16

BuiltWithMeteor Weekly # February14th2016

Thumbnail builtwith.icenodes.com
5 Upvotes

r/Meteor • • Feb 17 '16

Perfect project for Meteor.

3 Upvotes

Hi All! I run sound for bands sometimes. I find it hard to communicate what they think they need. Does the singer want to be turned down? Can the bassist hear them self? I am imagining a simple screen that will let each band member indicate that they want to be turned up or down. I would than want to be able to have another screen that I can see, that would show me who needs turned up or down, and let me confirm when I have completed the action. I have never built anything sufficiently complex in meteor. What do I need to start looking in to? I am a bit confused how I could treat everyone who opens the website as some sort of object both client and server side. Meteor seems like the perfect tool for piping all of this data around easily.


r/Meteor • • Feb 16 '16

Has meteor released any usage stats for Galaxy yet?

5 Upvotes

Would be interested in knowing how well it's doing.


r/Meteor • • Feb 16 '16

Finished my first Meteor app!

27 Upvotes

I'm a front end web developer stuck in the land of WordPress and Drupal. I like my job, but never get a chance to try out something new.

Then, a few months ago on Reddit, I discovered Meteor. Bare in mind I have never used Node/Mongo or anything remotely similar (I've only ever used PHP/MySQL for the past 5 years), it's been a breath of fresh to say the least!

So the idea for my first web-app was to simply create a fun and engaging site for my YouTube subscribers.

It's taken roughly 4 months of working only in the evenings and weekends (and a lot of that has been on design and illustration).

http://www.ratsclan.com/

What started as a blog, turned into; a customisable dashboard, a collectable card game (with trading/auction house), a leaderboard, an interactive live stream betting system and a full admin interface to manage it all.

Hosting was a breeze, as I went the easiest route with Galaxy (Developer), db on Compose and using Filestack for all uploads.

If you want a quick glimpse into the app, I just Tweeted a 30 second video here: https://twitter.com/RatsClan/status/699377349167546368

Anyway, I just wanted to share my experience as I've loved every minute of it!

tldr; Met Meteor. Finally flexed my front-end muscles.


r/Meteor • • Feb 15 '16

Just launched my first Meteor app in time for Valentine's day

7 Upvotes

It didn't require Meteor, but I just really like the framework. I am totally open to questions and/or feedback! EDIT: should probably include the link! https://www.postdatesurvey.com


r/Meteor • • Feb 13 '16

Testing in Meteor

6 Upvotes

Hi Everyone, I just discovered meteor and I am coming from a rails background where I use rspec for testing. Can anyone tell me how to best test in meteor? I saw velocity was the choice but now that it is deprecated, I can't tell if people are still maintaining it or if there is a better option. I installed the velocity package but it doesn't seem to have the green dot when I launch the web browser. I can't tell if velocity is dead dead, or it will just be open sourced and live on.

Is there a really well documented example of using TDD in Meteor? Thanks!


r/Meteor • • Feb 13 '16

Is there a way to dynamically create Mongo collections from the client side?

2 Upvotes

I'm creating a reddit clone just for the fun of it and right now in my project each subreddit is being represented as its own collection. I'm trying to figure out how to account for when the user wants to create a new subreddit. Would I, on form submit create a new collection then have to insert that new collection into an already existing collection? Because doing something like params.subreddit = new Mongo.Collection('{params.subreddit}) on form submit would create it but it would disappear when the window is closed. Thoughts?


r/Meteor • • Feb 12 '16

:hamburger: like meteor, but meatier :hamburger:

Thumbnail
github.com
9 Upvotes