-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
base: master
Are you sure you want to change the base?
Conversation
Hi Jeff, |
@@ -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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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!
The repository for Faker.js has been moved!