Skip to content

Instantly share code, notes, and snippets.

@Mcdavid95
Created February 24, 2020 20:45
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 Mcdavid95/abd9f74fd98cd4c5759e75a36c083396 to your computer and use it in GitHub Desktop.
Save Mcdavid95/abd9f74fd98cd4c5759e75a36c083396 to your computer and use it in GitHub Desktop.
SES RabbitMQ Tutorial
const express = require('express');
const { json, urlencoded } = express;
const app = express();
app.use(json());
app.use(urlencoded({ extended: true }));
app.get('/', (req, res) => {
return res.status(200).send({
message: 'Welcome to our API'
})
});
app.listen(5000, () => {
console.log(`app running on port: 5000`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment