Skip to content

Commit

Permalink
docs: add cloudflare and vercel deployment instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Jan 17, 2025
1 parent 627209f commit f1aad15
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For a detailed list of changes, see the [CHANGELOG](CHANGELOG.md).
## 🔌 Running Locally

> [!NOTE]
> You need `Bun(1.0.26+)` or `Node.js(v18+)`
> You need `Bun(1.0.29+)` or `Node.js(v20+)`
1. Clone the repository:

Expand All @@ -39,12 +39,15 @@ For a detailed list of changes, see the [CHANGELOG](CHANGELOG.md).

## ☁️ Deploying Your Own Instance

You can easily deploy your own instance of the API by clicking the button below:
JioSaavn API can be deployed to either Cloudflare Workers or Vercel. Below are the instructions for deploying to each platform.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/sumitkolhe/jiosaavn-api)
### Cloudflare Workers

[![Deploy with Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/sumitkolhe/jiosaavn-api)

> [!TIP]
> To ensure the API provides results in the intended language, configure the [Serverless Function Region](https://vercel.com/docs/concepts/functions/serverless-functions/regions) in Vercel to `Mumbai, India (South) - > bom1`.
### Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/sumitkolhe/jiosaavn-api)

## 📜 License

Expand Down

0 comments on commit f1aad15

Please sign in to comment.