Configured express to be used on vercel.
- Clone this repository:
git clone https://github.com/khianvictorycalderon/express-js-serverless-api.git - Run
npm installto install necessary packages. - Run
npm run devto test your backend.
The following is a list of installed dependencies and configuration settings used in this project.
You don’t need to install anything manually, as all dependencies are already managed through package.json.
This section is provided for reference only, to give you insight into how the project was set up.
npm install express corsnpm install nodemon --save-dev
- Updated
package.json:"scripts": { "dev": "nodemon ./api/index.js" }