Skip to content

Commit 658c249

Browse files
docs: add redirect link
1 parent 97aca30 commit 658c249

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ commit messages are standardized:
3535
- Start MongoDB server
3636
- Run `npm install` to install all dependencies
3737
- Make a `.env` file with all secrets. You also need to generate google client id and secret key. You may refer [to this](https://developers.google.com/identity/protocols/oauth2https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_id_and_client_secret) for the steps.
38+
> Note: Put `<server_url>/api/auth/google/redirect` in redirect url when generating google client id and secret.
3839
- Run `npm run dev` to start server
3940

4041
### Frontend setup

server/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DATABASE_URL=
2-
CLIENT_URL=
2+
CLIENT_URL=http://localhost:3000
33
JWT_REFRESH_SECRET=
44
JWT_SECRET=
55
GOOGLE_CLIENT_ID=

0 commit comments

Comments
 (0)