This repo allows you to populate your database with books data for AJ's Books Next.js
Requires Node.js >= 8.
- Clone this repo, cd into it, and run
npm install
. - Download your service account (generate private key) from the Firebase Console under settings, then save it in the root of this project as
credentials.json
. - Run
node
with the file associated for a collections
Examples:
node books.js