Skip to content

Commit

Permalink
set up deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
augustus281 committed Jun 2, 2024
1 parent d53897a commit 3515441
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
.env
docker-compose.yml
docker-compose.yml
.vercel
3 changes: 2 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"test": "mocha --recursive",
"start": "node server.js",
"dev": "nodemon server.js"
"dev": "nodemon server.js",
"vercel-build": "echo bktravel"
},
"keywords": [],
"author": "",
Expand Down
Empty file added server/public/.gitkeep
Empty file.
5 changes: 5 additions & 0 deletions server/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 2,
"build": [{ "src": "./src/server.js", "use": "@vercel/node" }],
"routes": [{ "src": "/(.*)", "dest": "/" }]
}

0 comments on commit 3515441

Please sign in to comment.