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

Seed data script and example #10

Merged
merged 7 commits into from
Feb 7, 2024
Merged

Seed data script and example #10

merged 7 commits into from
Feb 7, 2024

Conversation

technophile-04
Copy link
Member

@technophile-04 technophile-04 commented Feb 6, 2024

As discussed in #8 instead of creating it inside nextjspackage create a new whole new package local_db because running a ts node script in nextjs repo was not easy as I thought and required almost the same amount of new npm packages to be added to run script independently. So instead created a separate package for seeding script and JSON script.

Updated the README.md with instructions 🙌

Also make sure you add FIREBASE_PROJECT_ID="buidlguidl-v3" in .env.local moved the projectId to .env since I while creating the firebase project I named it just buidlguidl and lol its was pain while testing

Copy link
Contributor

@carletex carletex left a comment

Choose a reason for hiding this comment

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

Amazing job @technophile-04 <3 This is really crafty stuff ;)

@carletex carletex merged commit e0556e7 into main Feb 7, 2024
1 check passed
@carletex carletex deleted the seed-data branch March 6, 2024 10:56
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.

2 participants