https://github.com/zyd8/ai-reviewer
https://github.com/zyd8/ai-reviewer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zyd8/ai-reviewer
- Owner: Zyd8
- License: gpl-3.0
- Created: 2024-10-20T11:01:25.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-26T19:32:05.000Z (8 months ago)
- Last Synced: 2024-11-28T20:07:37.054Z (7 months ago)
- Language: JavaScript
- Size: 267 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## .env file to input keys=
copy the .env.example to .env (backend and frontend folder)## To Generate A Secret Key
You can use import secrets or other ways to generate a random key
import secrets
secret_key = secrets.token_hex(32)
print(secret_key)## To Generate Google Client ID and Secret
Step 1: Create a Project in Google Cloud Console
- Go to the [Google Cloud Console](https://console.cloud.google.com/apis/dashboard)
- Click on the project drop-down and select "New Project."
- Enter a project name and click "Create."Step 2: Create OAuth 2.0 Client ID
- In the "Credentials" page, click on "Create Credentials" and select "OAuth 2.0 Client ID."
- Configure the consent screen by providing the necessary information (e.g., application name, support email).
- Select the application type (Web application).
- Enter the authorized redirect URIs (http://localhost:5000/auth).
- Enter the authorized Javascript URIs (http://localhost:5173 or the react localhost, http://localhost).
- Click "Create."Your new client ID and client secret will be displayed. Copy and store them in the .env file