mapbasedev

Mapbase

Mapbase is an open source map stack built on top of supabase.

How it works

Mapbase is a combination of open source tools. We’re building the features of a modern map stack using open source products.

We are using

and mapping it to

Notes

  1. Set up multi-factor authentication https://supabase.com/dashboard/account/security
  2. Create a personal access token https://supabase.com/dashboard/account/tokens

Supabase API docs: https://api.supabase.com/api/v1

export SUPABASE_ACCESS_TOKEN="spb_xxxxxxxxxx"

curl -sSf --proto =https --tlsv1.3 -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" https://api.supabase.com/v1/organizations

curl -sSf --proto =https --tlsv1.3 -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" https://api.supabase.com/v1/projects

Auth

Auth issues JWTs to users: these JWTs encode an authenticated user in the system or an anonymous user. Other services like supabase database can then check if a user is allowed to access database records based on the JWT.

Helpers for React

Storage

Are byte-range requests not supported? https://github.com/supabase/storage/issues/322

The protomaps protocol makes byte-range requests against a hosted .pmtiles file. Will this be a hard blocker for hosting maps on supabase storage?

Database

tbd

Realtime

tbd