What's the minimal amount of packages required to run Meteor server-side only?


#1

meteor remove meteor-platform

Then

meteor add ...


Good practices to use meteor build tools to generate a website and a mobile app, but no back end
#2

Good question. I’d like to throw in: what would be a good way to keep it just Meteor + Cordova, and drop the web browser?


#3

Something like:

# .meteor/packages

meteor
webapp
logging
ddp
mongo
check
underscore
random
ejson
reload
autoupdate 

You can prob. take tracker out if no packages are assuming tracker on the server (it actually works there lol). I also left out insecure.

Here’s a PR for some of the React work. The above also takes out jQuery and Tracker.


#4

Looks like the only core package that I really needed was the meteor package and was able to make an API with meteorhacks:picker. Most likely I might eventually need things like underscore, check, ejson and maybe random.


#5

@lai have you looked at the simple:rest package and or simple:json ? These popped up after I built a Meteor API server… I ended up rolling my own with IR and using some NPM middleware.