Express.js v5 starter is a boilerplate for building and deploying Express.js applications to Vercel.
🏠 Homepage
✨ Demo
- cors CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
- express ^5.0.0-beta.1 Fast, unopinionated, minimalist web framework for Node.js.
- helmet Helmet helps you secure your Express apps by setting various HTTP headers.
- jsend - Utilities and middleware to assist with sending and handling jsend responses.
- pino Very low overhead Node.js logger.
- biome Biome is a formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.
- tsup Bundle your TypeScript library with no config, powered by esbuild.
- tsx TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
bun install
git clone https://github.com/jellydn/express-vercel-starter
Create .env file from .env.example then run below command
bun run dev
This project uses pre-commit to run pre-commit hooks. The pre-commit hooks will run the linter and formatter before committing.
pre-commit install
bun run build
- Install Vercel CLI
-
Click on the "Deploy with Vercel" button on your project's repository page.
-
If prompted, log in to your Vercel account or create a new account.
-
Select the repository that you want to deploy.
-
Change the output directory to
.
(dot) on your project's build settings. This will ensure that the built files are placed in the root directory of your project. -
Click on "Deploy." Vercel will automatically build and deploy your project.
-
Your project should now be live and accessible at the URL provided by Vercel.
- Using Express.js with Vercel – Vercel Docs
- Express 5.x - API Reference
- Vercel documentation
- Deploying with Vercel
👤 Dung Huynh
- Website: https://productsway.com/
- Twitter: @jellydn
- Github: @jellydn
Give a ⭐️ if this project helped you!