Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/md-zainulabdin/express-vercel

Starter code for backend applications built with Express and Node.js, ready for deployment on Vercel
https://github.com/md-zainulabdin/express-vercel

express javasc nodejs vercel

Last synced: about 1 month ago
JSON representation

Starter code for backend applications built with Express and Node.js, ready for deployment on Vercel

Awesome Lists containing this project

README

        

# Backend Starter Kit for Vercel Deployment - Javascript

Starter code for backend applications built with Express and Node.js, ready for deployment on Vercel.

## Features

- Separate branches for **JavaScript** and **TypeScript**.
- Simple setup using **Express**.
- Pre-configured for Vercel deployment.

## Getting Started

Prerequisites

- Node.js
- Vercel account

## Installation Process

To get started with this project, follow these steps:

1. Clone the repository :

```sh
git clone https://github.com/Md-Zainulabdin/express-vercel
cd express-vercel
```

2. Switch Branches :

- JavaScript :

```sh
git checkout javascript
```

- TypeScript :

```sh
git checkout typescript
```

3. Install Dependencies :

```sh
npm install
```

4. Configure Environment Variables :

Create a .env file:

```sh
PORT = 8000
CORS_ORIGIN = *
```

5. Run the Application :

```sh
npm start
```

## Deployment

1. Install Vercel CLI :

```sh
npm install -g vercel
```

2. Deploy to Vercel :

```sh

vercel

```

Share this with your tech enthusiast friends!