Skip to content

Prepare your backend project in express to easily upload it to vercel

License

Notifications You must be signed in to change notification settings

alexandermontillarivera/verxpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verxpress

Create your express server with a simple file that this module will generate for you in a matter of seconds ⏳.

Instalation

If you want to install it globally 🌐.

npm install -g verxpress

Usage

Run the cli with the following command 💻.

verxpress

Or Usage module for npx 🎽.

npx verxpress

In the console it will launch a question to know the name of the main file of the express app 🈸.

Console question

By default this is index.js if you give it enter, but it can be the name you want 📛.

This generates a vercel.json file at the root of the project, which will be used by the vercel platform to deploy the app 🚀.

From here, simply enter the vercel platform and upload the project, it will detect the vercel.json and configure that part to support express. Follow the steps and requirements of the platform and voila, you have it 🎉.

Important 👀

Your main file must be in the root of the project because vercel requests it in this section 📚.

More information to work with express and vercel 📃

About

Prepare your backend project in express to easily upload it to vercel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published