{"repo":"tschuehly/htmx-supabase-spring-boot-starter","free":true,"listed":false,"github":"https://github.com/tschuehly/htmx-supabase-spring-boot-starter","clone":"git clone https://github.com/tschuehly/htmx-supabase-spring-boot-starter.git","description":"Get started with htmx + Supabase + spring","language":"Kotlin","stars":52,"topics":["authentication","security","spring","spring-boot","spring-security","supabase"],"license":null,"category":"auth-billing-email","readme_excerpt":"HTMX Supabase Spring Boot Starter Easy integration of Supabase Authentication in your Spring Boot + htmx project! Supabase gives us access to two important things for free: - Hosted Postgres Server with 500 MB Database Storage - GoTrue API for Authentication of up to 50.000 Monthly Active Users Features of htmx-supabase-spring-boot-starter - Supabase Authentication integration - Spring Security configuration with application.yaml/properties - Role-Based Access Control - Basic Authentication Initial Setup: Include the dependency in your build.gradle.kts. You can look up the newest version on search.maven.org Go to supabase.com and sign up for an account. Create a new Supabase project. Save your database password for later. Go to your Spring App and configure your application.yaml using the Supabase API credentials. You can find them at Project Settings - API or https://app.supabase.com/project/yourProjectId/settings/api anonKey , jwtSecret and database.password are sensitive properties, you should set these with environment variables. You need to set the Site URL and the Redirect URL in your supabase dashboard as well. You can find them at Authentication - URL Configuration. If you didn't mess with the server.port property you should set it to http://localhost:8080 Now you can get started with integrating authentication. The Supabase PostgreSQL database is automatically configured for you. Configuring Public Authorization You can configure public accessible paths in your appli","default_branch":null,"files":null,"tree":[],"storefront":"/r/tschuehly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tschuehly/htmx-supabase-spring-boot-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}