BuidlGuidl / grants.buidlguidl.com

https://grants-bg.vercel.app
MIT License
3 stars 3 forks source link

Seed data script and example #10

Closed technophile-04 closed 9 months ago

technophile-04 commented 9 months ago

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