Skip to content

leccles1/astro-platforms

Repository files navigation


Astro platforms is Saas starter powered by Astro —
Multi tenancy & authentication implemented via Lucia
Obviously inspired by the vercel platforms NextJS starter.

Todo

  • Custom Middleware that handles rewrites for app.<domain> and subdomains
  • Setup Drizzle, and Turso...
  • Implement auth via Lucia
    • Protect app.<domain> behind auth
  • Ensure deployed target works out the box..
  • Provide proper dashboard at app.<domain>.com
  • Enable true multi tenancy, with a db per tenant...

Install

The recommended way to install the latest version of Astro is by running the command below:

pnpm create astro@latest --template leccles1/astro-platforms

Create a .env file, use ./env.example to see required environment vars. src/env.d.ts is also setup to provide intelisense for import.meta.env calls

Run

pnpm start

Will start up a local development version, using an in memory SQLite database.

Build

pnpm build

Documentation

Coming Soon

Support

Having trouble? Raise an issue in this repo.

Contributing

New contributors welcome!

About

Astro powered Saas starter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors