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
As discussed in #8 instead of creating it inside
nextjs
package create a new whole new packagelocal_db
because running a ts node script innextjs
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 theprojectId
to.env
since I while creating the firebase project I named it justbuidlguidl
and lol its was pain while testing