Archived
Merge branch 'master' of https://github.com/makoteq/eco-hack
This commit is contained in:
commit
bed77f0c03
6 files changed
+28
-2254
No files matched your search
+6
-5
@@ -1,6 +1,7 @@
|
||||
const express = require("express");
|
||||
const app = express();
|
||||
const port = process.env.PORT || 3000;
|
||||
|
||||
const express = require('express')
|
||||
const app = express()
|
||||
const port = process.env.PORT || 3000
|
||||
const { MONGO_URI } = require("./config");
|
||||
const mongoose = require("mongoose");
|
||||
const events = require("./models/events");
|
||||
@@ -23,5 +24,5 @@ app.get("/api/getEvents", async (req, res) => {
|
||||
});
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Example app listening at http://localhost:${port}`);
|
||||
});
|
||||
console.log(`Example app listening at http://localhost:${port}`)
|
||||
})
|
||||
Reference in new issue
Block a user