From c722cf91613c0f141923b27e8e0bc54b79d5c61d Mon Sep 17 00:00:00 2001 From: Maxwell DeMaio <44373521+maxdemaio@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:48:42 -0400 Subject: [PATCH] Updated ENV Information for Contributors (#55) --- .env.example | 1 + README.md | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b71665f --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +PH_API_TOKEN=uwu1 \ No newline at end of file diff --git a/README.md b/README.md index 2206793..e1f7655 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,6 @@ Product Hunt with ZERO AI Slop™ 1. `pnpm i` 2. `pnpm dev` -Create a ProductHunt account. Then, go to your [API Dashboard](https://www.producthunt.com/v2/oauth/applications). Afterwards, create an application. Set the redirect URI to `https://localhost:3000` for local development purposes. Then, generate a `Developer Token`, copy that, create a `.env` file in the root of this project's directory and paste that like: - -``` -API_TOKEN=myTokenHereUwu -``` +Create a ProductHunt account. Then, go to your [API Dashboard](https://www.producthunt.com/v2/oauth/applications). Afterwards, create an application. Set the redirect URI to `https://localhost:3000` for local development purposes. Then, generate a `Developer Token`, copy that, create a `.env` file similar to [.env.example](/.env.example). Architecture diagram is located at [public/og-hunt-diagram.excalidraw](/public/og-hunt-diagram.excalidraw) which you can upload to Excalidraw to view.