meteorjs - tool cheatsheet
Meteor is an open source framework for seamlessly building and deploying Web, Mobile, and Desktop applications in Javascript.
meteor.com
program cheatsheet
install Meteor
neednpm
? install it via node-volume-manager (nvm)
create new bare meteor project
will create a folder called src
in the current working directory
To start with a different app template, try one of the following:
meteor create --bare # to create an empty app
meteor create --minimal # to create an app with as few Meteor packages as possible
meteor create --full # to create a more complete scaffolded app
meteor create --react # to create a basic React-based app
meteor create --vue # to create a basic Vue-based app
meteor create --apollo # to create a basic Apollo + React app
meteor create --svelte # to create a basic Svelte app
meteor create --typescript # to create an app using TypeScript and React
meteor create --blaze # to create an app using Blaze
use a koad:io skeleton
only use a --bare
project when using a skeleton.
copy the PWA skeleton to override aspects of the
--bare
project.
use your entity
to create this same setup in the usual place
opt out of mongodb (production)
Meteor will automatically spawn a mongodb in the .meteor/local folder of your project when you are developing it but a built project in production needs MONGO_URL to be set.
If you want to run meteor without a mongodb (accounts and live data won't work), or maybe use a different DB for these things (advanced af).
Good for...
- simple sites that don't have login,
- serverside done in-memory only (mongodb in-memory collections, never calling an actual DB).
- that use a different meteor server's via DDP.
file specific cheatsheets
file: src/.meteor/packages
file: .env
links
install meteor - www.meteor.com/developers/install
documentation - docs.meteor.com/install.html
api documentation - docs.meteor.com/api/core.html
cli documentation - docs.meteor.com/commandline.html
environment variables - docs.meteor.com/environment-variables.html