Skip to content

Commit b4d1bbd

Browse files
committed
inicio de projecto
0 parents  commit b4d1bbd

File tree

5 files changed

+439
-0
lines changed

5 files changed

+439
-0
lines changed

.gitignore

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

package-lock.json

Lines changed: 374 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "02-Rest-Server",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"dependencies": {
13+
"body-parser": "^1.19.0",
14+
"express": "^4.17.1"
15+
}
16+
}

server/config/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Port
2+
process.env.PORT = process.env.PORT || 3000;

0 commit comments

Comments
 (0)