Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

fitzypop/ghibli.deno.dev

Repository files navigation

Ghibli API - Deno

I'm porting over the og ghibli api to deno and supabase.

! This repo is no longer maintained. I can't afford to run a paid Supabase instance right now. The new repo is available here, it uses deno json imports for data.

Totoro

Updates

2/28/23 - Getting close to feature parity with the jsonServe ghibliapi.
2/27/23 - Naive implementation for endpoints completed. Still need to add optional search params.
2/26/23 - Finally created a functional migration script to parse data.json to seed.sql for supabase.
6/3/23 - No longer maintaining this repo, in favor of a simplier solution

Features todo

  • Migrate data.json to seed.sql for supabase
  • Run migrations on commit to main to supabase project
  • [ ] Make api with Oak
  • Make api with Fresh
  • Set public policies for tables
  • Add supabase keys to env and Deno Deploy
  • Query supabase
  • Add 'fields' param to endpoints
  • Add limit to 'GET ALL' endpoints

[ ] Add validators for params
[ ] Improve Error Handling
[ ] ???
[ ] PROFIT!