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

Updated link to Faker.js repository #1469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onero
Copy link

@onero onero commented Dec 6, 2022

The repository for Faker.js has been moved!

@onero
Copy link
Author

onero commented Dec 6, 2022

Hi Jeff,
Since I have always enjoyed your content, I decided to "give a little back" by contributing with a bugfix to fireship.io 🛠️ 🔥 🚀!

@@ -146,7 +146,7 @@ firebase deploy --only functions

## Optional: Seed the Database

In the video you saw how I quickly seeded Firestore with dummy data, which was accomplished with [Faker](https://github.com/marak/Faker.js/) and the Firebase Admin SDK. Create a vanilla node script in the functions directory that sends writes to the database.
In the video you saw how I quickly seeded Firestore with dummy data, which was accomplished with [Faker](https://github.com/faker-js/faker) and the Firebase Admin SDK. Create a vanilla node script in the functions directory that sends writes to the database.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I edited the file with cloud VS Code, provided by the Github platform, which automatically improved the Prettier formatting.
This line includes the actual url change!


### Generate Fake Firestore Data Quickly

We can quickly generate mock data by injecting [Faker.js](https://github.com/marak/Faker.js/) into a browser script. The script appends a button to the UI, then tells Firestore to create 100 user documents with fake data. Run it by simply pasting this code into the browser console.
We can quickly generate mock data by injecting [Faker.js](https://github.com/faker-js/faker) into a browser script. The script appends a button to the UI, then tells Firestore to create 100 user documents with fake data. Run it by simply pasting this code into the browser console.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I edited the file with cloud VS Code, provided by the Github platform, which automatically improved the Prettier formatting.
This line includes the actual url change!

@@ -100,7 +100,7 @@ export class AppModule { }

## Seeding the Database with Faker

[Faker](https://github.com/marak/Faker.js/) is a handle little tool when you need to seed the database with dummy data.
[Faker](https://github.com/faker-js/faker) is a handle little tool when you need to seed the database with dummy data.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I edited the file with cloud VS Code, provided by the Github platform, which automatically improved the Prettier formatting.
This line includes the actual url change!

@onero onero changed the title Updated link to repository Updated link to Faker.js repository Dec 6, 2022
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