IMPORTANT: Meteorchef deprecated Base in June 2017 and so this should also be deprecated. Instead please go directly to their new project, Pup, run by their new organization Clever Beagle. This is a GOOD thing.
A starting point for building FreeCodeCamp projects with Meteor. Because Meteor is awesome and is a perfect fit for FCC-size projects. Forked from gstephen's MeteorChef/Base Restricted Access Branch at v4.10.0
Base+FCC Version | v1.0.2 |
---|---|
Base Version | v4.10.0 |
Meteor Version | v1.4.2.3 |
Read the MeteorChef/Base Documentation Read the Meteor+React Tutorial
This code is published on github at https://github.com/sw-yx/base-fcc and a sample is hosted on heroku at https://base-fcc.herokuapp.com/
This extension to Meteor Base adds an ownerId field to the Documents collection and restricts document access to the owner. It also adds fields to the document to track create & modify date.
- Twitter login
- Unauthenticated view of all documents (without Editing ability although the API may be hackable)
- My Documents page
borrowing heavily from https://themeteorchef.com/base/getting-started (go ahead and read the whole thing if you have time):
- open up your terminal and go to your favorite webdev terminal
git clone https://github.com/sw-yx/base-fcc.git base-fcc
(replace "base-fcc" with whatever name you want)cd base-fcc
and thenmeteor npm install
meteor npm start
- once the app has compiled, open
localhost:3000
in your browser
Just check this out :) https://medium.com/@leonardykris/how-to-run-a-meteor-js-application-on-heroku-in-10-steps-7aceb12de234#.nmyq8xpf7
except note that the buildpack he recommends is old and you should use https://github.com/AdmitHub/meteor-buildpack-horse
also you should grep a slightly different mongodb uri heroku config | grep MONGODB_URI