Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiceCoin authored Dec 20, 2021
1 parent a2f75cc commit f4afed1
Show file tree
Hide file tree
Showing 37 changed files with 65,823 additions and 0 deletions.
1 change: 1 addition & 0 deletions Voting_DApp-master/backend/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node index.js
6 changes: 6 additions & 0 deletions Voting_DApp-master/backend/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const app = require("./src/app");

const port = process.env.PORT || 5000;
app.listen(port, () => {
console.log(`Listening: http://localhost:${port}`);
});
21 changes: 21 additions & 0 deletions Voting_DApp-master/backend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"main": "index.js",
"scripts": {
"start": "node src/index.js",
"dev": "nodemon src/index.js"
},
"dependencies": {
"algosdk": "^1.12.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"helmet": "^4.6.0",
"joi": "^17.5.0",
"mongoose": "^6.1.2",
"morgan": "^1.10.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"nodemon": "^2.0.15"
}
}
1,615 changes: 1,615 additions & 0 deletions Voting_DApp-master/backend/yarn.lock

Large diffs are not rendered by default.

Loading

0 comments on commit f4afed1

Please sign in to comment.