DavidReider / MagicEdenFloorTrack

A simple floor price tracker for Magic Eden.
https://solanafloortracker.netlify.app/
26 stars 13 forks source link

Setup Database #1

Closed DavidReider closed 2 years ago

DavidReider commented 2 years ago

Instead of hitting the API every page load, we would ideally want to set up a CRON Job to hit the API once an hour and save the current floor price to a database and then fetch the floor price from the database.

DavidReider commented 2 years ago

CRON Job setup is pretty much set up.

DavidReider commented 2 years ago

Will need to create a database and instead of logging the price, we will want to save it to a database table and then swap out index.js to pull the prices from the database.