(Add info about our concept here! Maybe Alina can take care of this?)
-
Scrum Master/Product Owner:
-
Developers:
-
Voyage Guide:
-
UI/UX Designer:
This project is built using Next.js, React, NextAuth.js, and PostgreSQL.
-
Clone the repo:
git clone https://github.com/chingu-voyages/V55-tier3-team-36.git
. -
Go to the source folder:
cd V55-tier3-team-36
. -
Install dependencies using
npm install
. -
Run the project locally:
npm run dev
and visithttp://localhost:3000
. -
Configure NextAuth by adding the following to
.env.local
, replacing each > with your own information:
GOOGLE_CLIENT_ID=<your-google-client-id>
GOOGLE_CLIENT_SECRET=<your-google-client-secret>
NEXTAUTH_SECRET=<run `npx auth secret` in your terminal to generate this for your local environment>
To generate (or, for our team, get our existing) GOOGLE_CLIENT_ID
and GOOGLE_CLIENT_SECRET
:
- Sign into Google Cloud Console. (For our team, please use our team login that Lindsay created.)
- Create a project (or for our team, select our project)
- Search for OAuth consent and fill out the required fields, App name, support email, and developer contact email (our team can skip this step, the stuff is already generated). For
Authorized redirect URIs
usehttp://localhost:3000/api/auth/callback/google
. - This should generate client_id and client_secret.