This is a template for an Astro project that use solid-js for the reactive components.
Integrated auth with lucia and a github oauth2 provider. This template use a supabase database to store the users with Prisma, but you can change the prisma adapter to use any other database & adapter.
You stock translations in src/lib/i18n
and can use them in your components with the useTranslations
function. You can also get the lang from the url with the getLangFromUrl
function. You have the language-select
component to switch between languages.
This template use tailwindcss with the shadcn/ui theme & styles. You have the ThemeToggle
component to switch between dark & light mode.
For components, we use kobalte for the primitives and base our styles on shadcn/ui.
We use eslint & prettier to format / validate the code. We recommended enabling auto format on save in your editor.