@smallstack/server-meteor

smallstack meteor server functionality

Usage no npm install needed!

<script type="module">
  import smallstackServerMeteor from 'https://cdn.skypack.dev/@smallstack/server-meteor';
</script>

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 by npm 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 afterwards meteor to start the server. It will automatically restart upon source code change.