An open API service indexing awesome lists of open source software.

https://github.com/fatumaa/supa-ssr

An example illustrating how to use Supabase Auth with Astro in SSR mode. It uses Tailwind and Astro actions.
https://github.com/fatumaa/supa-ssr

action astro authentication supabase supabase-auth supabase-js supabase-ssr

Last synced: 12 months ago
JSON representation

An example illustrating how to use Supabase Auth with Astro in SSR mode. It uses Tailwind and Astro actions.

Awesome Lists containing this project

README

          

# SSR Auth with Supabase and Astro Actions

This repository is a simple example of how to use Supabase and Astro Actions to create a secure, server-side rendered authentication flow.

## Running the project

To run the project, you will need to have Node.js installed on your machine. Once you have Node.js installed, you can clone this repository and run the following commands in your terminal:

```sh
npm install
```

To install the dependencies.

Then run:

```sh
npm run dev
```

To start the development server.

The app will be available at http://localhost:4321.

You should see this interface:

![A screenshot of the app's index page](/public/ssr-auth.png)

## Blog

For more information, check out my blog post on [SSR Auth with Supabase and Astro Actions](https://blog.hijabicoder.dev/how-to-add-ssr-auth-to-with-supabase-and-astro).