Skip to content

Instantly share code, notes, and snippets.

@simonjcarr
Last active August 6, 2020 15:50
Show Gist options
  • Save simonjcarr/b7f01a7c935b8af4184f4a965f7ae2d6 to your computer and use it in GitHub Desktop.
Save simonjcarr/b7f01a7c935b8af4184f4a965f7ae2d6 to your computer and use it in GitHub Desktop.
/server/main.js
// /server/main.js
import { Meteor } from 'meteor/meteor';
import '/imports/api/hobbies'
Meteor.startup(() => {
// code to run on server at startup
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment