Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 648 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 648 Bytes

Express Demo

Key Configuration

  • vercel.json
{
    "builds": [{ "src": "app.js", "use": "@now/node" }],
    "routes": [{ "src": "(.*)", "dest": "app.js" }]
}

How to create

# available in Node.js 8.2.0
npx express-generator --view=pug myapp
cd myapp

# run
npm install && npm start
  • Add vercel.json then deploy by vercel.
# add vercel.json and deploy
npx vercel login
npx verce