Skip to content

Commit 4e2c64f

Browse files
committed
initial commit
1 parent b30e1bd commit 4e2c64f

File tree

4 files changed

+592
-0
lines changed

4 files changed

+592
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

app.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const express = require('express');
2+
const mongoose = require('mongoose');
3+
4+
const app = express();
5+
6+
app.get('/', (req, res) => {
7+
res.send('It Works!');
8+
});
9+
10+
const port = process.env.PORT || 5000;
11+
12+
app.listen(port, () => {
13+
console.log(`Server started on port ${port}`)
14+
});

0 commit comments

Comments
 (0)