README
@smallstack/server-meteor
This is the base package for a smallstack backend server based on Meteor (see https://meteor.com).
How-to install
npm install
will install all dependencies.
How-to use
This package is not intended to be used standalone. You should reference it in your project and call initMeteorServer()
or replicate the logic that is being executed in that function. Developers can use the meteor app installed in ./test/meteor-app.
A typical setup could be:
- open a console window and call
npm install
, followed bynpm run watch
. The latter will watch ts files and create a new distribution file on each change. - open another console window, navigate to ./test/meteor-app, call
meteor npm install
and afterwardsmeteor
to start the server. It will automatically restart upon source code change.