ViorelMocanu / digital-resources

A web-based version of the digital resources document found in https://bit.ly/vio-digital
https://resurse.dev/
ISC License
33 stars 6 forks source link

feat: add Astro DB #304

Open ViorelMocanu opened 2 months ago

ViorelMocanu commented 2 months ago

📚 Description

This PR adds Astro DB as a data source, both for local development (via CSV seeder files) and remote Studio connection.

This is still a draft until I manage to make the resource page functional, plus all the taxonomy pages. The rest will have to be optimized in further PRs.

Known issues include:

I should fix them before merging this.

🔗 Linked issue(s)

Fixes #12 (Figure out initial database solution). Fixes #73 (Refactor getStaticPaths). Fixes #76 (Add all document links). Fixes #100 (YouTube Embeds). Fixes #137 (Refactor ResourceList and ResourceTOC). Fixes #159 (Add Supabase). Fixes #160 (Test Supabase as initial storage solution). Fixes #170 (Redirect table in Supabase). Fixes #284 (Test AstroDB as initial storage solution).

❓ Type of change

📄 Changelog

✅ Checklist

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **digital-resources** | ⬜️ Ignored ([Inspect](https://vercel.com/viorel-mocanus-projects-954238ec/digital-resources/CNiwDDdrn6EZYJS14fQpZGNCShDt)) | [Visit Preview](https://digital-resources-git-f-67790f-viorel-mocanus-projects-954238ec.vercel.app) | | Oct 7, 2024 10:48am |
github-actions[bot] commented 5 days ago

Your database schema is up-to-date.