Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gtg092x committed Jan 17, 2016
0 parents commit 885377b
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.env
Dockerfile
docker-compose.yml
.idea
8 changes: 8 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "Node.js Water Server",
"description": "Server for water",
"repository": "https://github.com/gtg092x/water-server",
"logo": "http://node-js-sample.herokuapp.com/node.svg",
"keywords": ["node", "express"],
"image": "heroku/nodejs"
}
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var express = require('express');
var app = express();
var port = (process.env.PORT || 5000);

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

app.listen(port, function () {
console.log('Example app listening on port ' + port);
});
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "remoteserver",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"bookshelf": "^0.9.1",
"express": "^4.13.3",
"knex": "^0.9.0",
"pg": "^4.4.3",
"sqlite3": "^3.1.1"
},
"devDependencies": {
"babel-cli": "^6.4.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gtg092x/water-server"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
Empty file added server/connect.js
Empty file.

0 comments on commit 885377b

Please sign in to comment.