Skip to content

Commit

Permalink
feat: add vercel json
Browse files Browse the repository at this point in the history
  • Loading branch information
thejus557 committed Oct 24, 2024
1 parent 08ee42a commit 3249bee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "server",
"scripts": {
"start": "node ./index.js",
"dev": "nodemon ./index.js"
"start": "node index.js",
"dev": "nodemon index.js"
},
"engines": {
"node": "14.x"
},
"dependencies": {
"cors": "^2.8.5",
Expand Down
9 changes: 9 additions & 0 deletions backend/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": 2,
"builds": [
{
"src": "./index.js",
"use": "@vercel/node"
}
]
}

0 comments on commit 3249bee

Please sign in to comment.