Skip to content

Instantly share code, notes, and snippets.

@derduskenga
Last active Jul 27, 2021
Embed
What would you like to do?
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