Last active
December 1, 2021 19:56
-
-
Save aleksejkozin/c87f0ef099c630238ad0fe8a7823b1a4 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 app = express(); | |
app.use(bodyParser.urlencoded({extended: true})); | |
app.use(bodyParser.json()); | |
app.get("/", (req, res) => { | |
res.json({message: "Server is running :D"}); | |
}); | |
require("./app/routes/app.routes.js")(app); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment