withered-flowers / example-astro-simple-authentication

Home Page:https://astro-simple-authentication.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Astro Authentication

Description

For this example we will try to make a simple authentication based on client-side apps AND server-side apps.

Client Side:

  • HTML & JS on Client, localStorage - (Astro) => Public and Protected
  • Multiple Framework, nanostores - (React, Vue, and Svelte) => Public (React + Vue), Protected (Svelte)

Server Side:

  • HTML & JS on Server, no JS on Client, cookies - (Astro) => Public and Protected

About

https://astro-simple-authentication.vercel.app


Languages

Language:Astro 57.8%Language:TypeScript 23.3%Language:Vue 11.3%Language:Svelte 5.6%Language:JavaScript 2.0%