An open API service indexing awesome lists of open source software.

https://github.com/dtg-lucifer/mentorsite-backend

This is a simple system that allows students to book a mentoring session with a mentor. The system is built using Node.js, Express.js, and MongoDB. And the authentication is done using JWT and cookies for storing that in the frontend.
https://github.com/dtg-lucifer/mentorsite-backend

google-meet-api google-meet-automation googleapis googlemeet mongodb nodejs

Last synced: about 1 month ago
JSON representation

This is a simple system that allows students to book a mentoring session with a mentor. The system is built using Node.js, Express.js, and MongoDB. And the authentication is done using JWT and cookies for storing that in the frontend.

Awesome Lists containing this project

README

          

# Welcome to the mentoring session booking system!

This is a simple system that allows students to book a mentoring session with a mentor. The system is built using Node.js, Express.js, and MongoDB. And the authentication is done using JWT and cookies for storing that in the frontend.

## Setup - Project

- Don't forget to create a `.env` file in the root of the project with the following structure:

```env
PORT=""
DB_URL=""
EXPIRY=""
HR_MAIL=""
HR_MAIL_PASS=""
```

- First of all you have to create the credentials file for the project inside `src/gmeet/config/credentials.json` with the following structure:

```json
{
"installed": {
"client_id": "",
"project_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_secret": "",
"redirect_uris": [""]
}
}
```

_It will automatically prompt you to authenticate using a google account of yourself for the first time but from the next time you won't be prompted so don' worry about that._

_**And keep in mind that the refresh and auth tokens will be automatically generate inside the `src/gmeet/config/token.json` for the first time when you authenticate using your google account**_

> For reference that how can you get the credentials you can visit the following link:

- [Quickstarter for node.js](https://developers.google.com/meet/api/guides/quickstart/nodejs)
- [Google API Console](https://console.developers.google.com/)
- [Gmeet github](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-apps-meet)
- [Gmeet doc](https://docs.google.com/document/d/1wOffkXVUK38-baNzRLZW85Mt11Q6YhdNS55hTigXh_w/edit#heading=h.og3amnf2dy8)

- Install the dependencies using the following command:

```bash
npm install
```

Or,

```bash
yarn
```