aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-11-29 21:20:14 +0530
committerRitesh Ghosh <[email protected]>2023-11-29 21:20:14 +0530
commit3ac10be9128780bcde70ddafca886814e2021e7f (patch)
tree8e46bbaf64fa92b43689e1d6b9115eedce349a70
parent0b9194e9194e790d40ebef1c76366cea190546cd (diff)
downloadaniwatch-api-3ac10be9128780bcde70ddafca886814e2021e7f.tar.xz
aniwatch-api-3ac10be9128780bcde70ddafca886814e2021e7f.zip
docs: add vercel deployment button
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index bec1e05..ae07c2a 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,8 @@
- [Installation](#installation)
- [Local](#local)
- [Docker](#docker)
+- [Host your instance](#host-your-instance)
+ - [Vercel](#vercel)
- [Documentation](#documentation)
- [GET Anime Home Page](#get-anime-home-page)
- [GET Anime About Info](#get-anime-about-info)
@@ -138,6 +140,16 @@ The above command will start the server on port 4000. You can access the server
You can also add the `-d` flag to run the container in detached mode.
+## <span id="host-your-instance">⛅ Host your instance</span>
+
+### Vercel
+
+[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/ghoshRitesh12/aniwatch-api)
+
+> [!NOTE]
+>
+> When deploying to vercel, set an env named `IS_VERCEL_DEPLOYMENT` to `true` or anything, but this env should be present.
+
## <span id="documentation">📚 Documentation</span>
The endpoints exposed by the api are listed below with examples that uses the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), but you can use any http library.