Last active
July 27, 2021 11:01
-
-
Save derduskenga/26122e37677afa56820a1f369919dcb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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