Skip to content

Instantly share code, notes, and snippets.

@distalx
Created February 16, 2019 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save distalx/0e49cab292d5f83cf12775f40386097a to your computer and use it in GitHub Desktop.
Save distalx/0e49cab292d5f83cf12775f40386097a to your computer and use it in GitHub Desktop.
Meteor + express
//server/main.js
import { Meteor } from 'meteor/meteor';
import express from 'express';
const app = express();
app.get('/api', (req, res) => {
res.status(200).json({ message: 'Hello World!!!'});
});
WebApp.connectHandlers.use(app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment