Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 820 Bytes

File metadata and controls

29 lines (20 loc) · 820 Bytes

Supabase Geolocation API Starter Kit

This project will help you create a Geolocation API using Supabase Edge Functions.

What is included inside?

  • Skeleton for building a Geolocation API with IPinfo.io
  • CI/CD template, which handles deployment and database migrations

How to setup:

You can setup this API in 4 steps:

  1. Fork this repository

  2. Create a Supabase project if you don't have one

  3. Add secrets:

In order for this API to be deployed automatically we need to set these secrets in our repository:

 SUPABASE_ACCESS_TOKEN
 SUPABASE_DB_PASSWORD
 SUPABASE_PROJECT_ID
 IPINFO_TOKEN  // Visit https://ipinfo.io to get your free API token
  1. Trigger the deployment workflow

Feedback

Found a bug or have a suggestion? Please contact me on X @rokasdam.