The Ignite Call is a Next.js app that seamlessly integrates with the Google Calendar API, allowing users to easily schedule events within their Google Calendar.
git clone <projectURL> npm installSetup a MySQL database locally with Docker - Docker MySQL Documentation
- Obtain the username, password, and port to be used in the
.envfile.
Google APis OAuth2 Documentation
- Go to the Google API Console and sign in.
- Create a project and select it.
- Navigate to
OAuth consent screen.- Select type
Externaland fill in the required fields. Save the changes. - Scopes => Not required (defined at a granular level during the authentication process).
- Tests => Not required.
- Select type
- Go back to
OAuth consent screenlocate "Publishing status" and click on "Publish APP". - Navigate to
Credentials.- Click on
Create Credentials>OAuth client ID>Web application> continue. - Provide a
namefor the OAuth client ID. - Create an "Authorized JavaScript origins" with the value
http://localhost:3000. - Create an "Authorized redirect URIs" with the value
http://localhost:3000/api/auth/callback/google. - Create the client ID.
- Once successful, Download or Save the Credentials to use on
.envfile.
- Click on
Copy the .env.example file to .env and fill the values.
cp .env.example .env docker run <containername> -d npx prisma migrate dev npm run devopen Localhost in your browser.
Explore and manipulate the database using the Prisma Studio UI.
npx prisma studioopen http://localhost:5555 in your browser.