Skip to content

A template to show how express applications with different routes can be deployed to vercel

Notifications You must be signed in to change notification settings

Arslan-Soomro/advance-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advance-express

A template to show how express applications with different routes can be deployed to vercel

Cautions

  • Put you api entry file in the root and must name it index.js
  • If you are using sequelize and upload to vercel and get a message saying you need to install mysql2 package manually, you need to provide the sequelize constructor not only the dialect but dialectModule too, and set it too the mysql2 pacakge e.g.: sequelize = new Sequelize(process.env.DB_URI, { dialect: 'mysql', dialectModule: require('mysql2') })

About

A template to show how express applications with different routes can be deployed to vercel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published