Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello word del backend #49

Merged
merged 6 commits into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
*/node_modules

npm-debug.log*
yarn-debug.log*
Expand All @@ -25,4 +10,4 @@ yarn-error.log*
.idea

#No queremos usar npm asi que lo ignoramos por si alguien lo usa por error
.package-lock.json
.package-lock.json
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache:
directories:
- node_modules
script:
- cd frontend
- yarn install
- yarn lint
- "CI=true yarn test"
Expand All @@ -16,7 +17,7 @@ deploy:
provider: pages
skip_cleanup: true
github_token: $github_token
local_dir: build
local_dir: frontend/build
on:
branch: master

Expand Down
13 changes: 13 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.idea

#No queremos usar npm asi que lo ignoramos por si alguien lo usa por error
.package-lock.json
11 changes: 11 additions & 0 deletions backend/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var express = require('express');
var app = express();

app.get('/', function (req, res) {
res.send('Hello World!');
});

app.listen(3000, function () {
console.log('Example app listening on port 3000!');
});

22 changes: 22 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "pdes-tp-chinwenwenchas-backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "[email protected]/PracticaDS/pdes-tp-chinwewenchas.git"
},
"author": "",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/PracticaDS/pdes-tp-chinwewenchas/issues"
},
"homepage": "https://github.com/PracticaDS/pdes-tp-chinwewenchas#readme",
"dependencies": {
"express": "^4.17.1"
}
}
Loading