

❗ node.js를 기준으로 작성됨
const port = process.env.PORT || 사전에지정해놓은포트번호;로 지정
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
$ cd 프로젝트 위치
$ git init
$ git add .
$ git commit -m "저장명"
$ heroku git:remote -a (app name)
$ git push heroku main

❗ git hub로 회원가입이 되지않는다면 다른 이메일로 회원가입한 후 new app을 생성할 때에 github를 연동시키면 된다
1. vercel에 들어와서 Add New로 새로운 프로젝트 작성

2. 배포하고자 하는 git을 import 및 Deploy

