Skip to content

andrianfaa/expressjs-serverless-function

Repository files navigation

Express.js Serverless Function

this is an Express.js Template with Typescript that you can use if you want to deploy Express.js App to Vercel

Deployed App

You can see this project already deployed at this link

Build setup

  • Clone Repository

    git clone https://github.com/andrianfaa/expressjs-serverless-function

    if you don't want to use TypeScript, you can use Javascript in Branch with-javascript

  • Install Dependencies

    # with yarn
    $ yarn install
    
    # or with npm
    $ npm install

    it will automatically create a config folder containing the .env.development . file

  • Run the development Server

    # with yarn
    $ yarn dev
    
    # or with npm
    $ npm run dev

    Server will running on port 5000

Deploy on vercel

if you want to deploy your app to Vercel, don't forget to edit templateEnv in setup.sh file

About

an Express.js Template with Typescript that you can use if you want to deploy Express.js App to Vercel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published