Skip to content

Instantly share code, notes, and snippets.

@derduskenga
Last active July 27, 2021 11:01
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 derduskenga/26122e37677afa56820a1f369919dcb9 to your computer and use it in GitHub Desktop.
Save derduskenga/26122e37677afa56820a1f369919dcb9 to your computer and use it in GitHub Desktop.
const express = require('express');
const routes = require('./routes/userRoutes');
const Parser = require('body-parser');
const app = express();
app.use(Parser.urlencoded({extended:true}));
app.use(routes);
app.listen(process.env.API_PORT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment