DEV Community

Discussion on: Build a Reddit Scraper: Setting up Dexie.js

Collapse
benayat profile image
benayat

looks clear and simple, thank you!
could you please post a link to the full code, maybe a github repo?

Collapse
imtyrelchambers profile image
Tyrel Chambers Author

I had to look deep through my old branches, but i think i found the code. I've since moved on from Dexie. You should be able to see it here github.com/tyrelchambers/reddex-fr.... Database.js holds the "migrations".

In PostFetch.js at the bottom, it'll show how you can use it with the db instance that was created in Database.js. The functions using Dexie are from line 159 to line 170, those 3 functions.

Lots of this code is long gone in the repo's current state, but that should hopefully help you get started.