aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-07-17 01:40:51 +0000
committerFactiven <[email protected]>2023-07-17 01:40:51 +0000
commitfa1ac14a0266dccf4c1857ce3a04832a707c66f0 (patch)
tree436cfb91778f49241c24c7982b37a15c52a98b75
parentadded fallback if no API key provided (diff)
downloadmoopa-fa1ac14a0266dccf4c1857ce3a04832a707c66f0.tar.xz
moopa-fa1ac14a0266dccf4c1857ce3a04832a707c66f0.zip
update .env.example
-rw-r--r--.env.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..1fc8fb3
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,8 @@
+CLIENT_ID="get the id from here https://anilist.co/settings/developer"
+CLIENT_SECRET="get the secret from here https://anilist.co/settings/developer"
+GRAPHQL_ENDPOINT="https://graphql.anilist.co"
+NEXTAUTH_SECRET='run this cmd in your bash terminal (openssl rand -base64 32) with no bracket, and paste it here'
+NEXTAUTH_URL="for development use http://localhost:3000/ and for production use your domain url"
+PROXY_URI="I recommend you to use this cors-anywhere as a proxy https://github.com/Rob--W/cors-anywhere follow the instruction on how to use it there. Skip this if you only use gogoanime as a source"
+API_URI="host your own API from this repo https://github.com/consumet/api.consumet.org. Don't put / at the end of the url."
+API_KEY="this API key is for manga page. get the key from https://anify.tv/discord" \ No newline at end of file