diff --git a/backend/app.js b/backend/app.js index 21d13fe..eae0955 100644 --- a/backend/app.js +++ b/backend/app.js @@ -28,4 +28,4 @@ const invoice = require('./api/invoice'); app.use('/api/v1/spot', spot); app.use('/api/v1/invoice', invoice); -module.exports = app; +module.exports = { app, PORT }; diff --git a/backend/package.json b/backend/package.json index 4385734..8b59e4b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,9 +1,9 @@ { - "name": "park-lightning-api", + "name": "atlbitdevs-familybtc", "version": "1.0.0", - "description": "Parking at the speed of lightning ⚡️", + "description": "A bitcoin solution for families", "main": "server.js", - "repository": "git@github.com:atlantabitdevs/park-lightning.git", + "repository": "git@github.com:atlantabitdevs/familybtc.git", "author": "atlantabitdevs@gmail.com", "license": "MIT", "private": false, diff --git a/backend/server.js b/backend/server.js index d070c96..bee9e15 100644 --- a/backend/server.js +++ b/backend/server.js @@ -1,5 +1,4 @@ -const app = require('./app'); -const PORT = process.env.PORT || 4000; +const { app, PORT } = require('./app'); const debug = require('./utils/debug'); app.listen(PORT, () => {