Skip to content

Instantly share code, notes, and snippets.

@aleksejkozin
Last active December 1, 2021 19:56
Show Gist options
  • Save aleksejkozin/c87f0ef099c630238ad0fe8a7823b1a4 to your computer and use it in GitHub Desktop.
Save aleksejkozin/c87f0ef099c630238ad0fe8a7823b1a4 to your computer and use it in GitHub Desktop.
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