Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create script to generate Firebase token #196

Open
wants to merge 1 commit into
base: release-v2
Choose a base branch
from

Conversation

RohanNankani
Copy link

@RohanNankani RohanNankani commented Aug 2, 2024

Notion ticket link

Create Firebase Token Script

Implementation description

Created a script to help developers generate the Firebase token quickly instead of having to generate it from the Postman.

Steps to test

  1. From the CLI, run the command: "npm run dev -- --testing" and generate the PERN stack from "rohan/token-generator-script"
  2. Build the application by running the command: "docker-compose up --build -d"
  3. Run the following command from root of the repo: "npx ts-node token-generator.ts generate-token [email] [password]"
  4. The script should give you an "accessToken". Copy and paste that accessToken and put it under “Authorization” of type “Bearer Token”
  5. Make the necessary GET, POST, and DELETE requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant