Skip to content

SupersaasHQ/essentials-lite

Repository files navigation

Supersaas Lite

A minimal fullstack starter template deployed on the Edge using NuxtHub.

Demo - https://supersaas-lite.nuxt.dev/

Features

  • Google, Github & Discord login
  • Database setup
  • Typescript
  • CRUD APIs
  • User Settings
  • Simple Note app use case

Supersaas lite is a part of Supersaas Pro - The fullstack Nuxt 3 template that comes with

  • Auth - Email/Password, Magic Link, One time passwords, Passkeys, Social Auth
  • DB - Turso, NuxtHub or Postgres
  • Payments - Manage user payment subscriptions using Stripe or Lemonsqueezy
  • Emails - send emails with 5 providers to choose from - Sendgrid, Postmark, Resend, Plunk and Mailgun
  • File storage - Upload, Delete and manipulate files - AWS S3, Nuxthub, Cloudflare R2 or even local file storage
  • Super Admin Mode - Add users, send password reset links, ban/unban and delete users.

Setup

Make sure to install the dependencies with pnpm:

pnpm install

Set the environment variables

NUXT_OAUTH_GITHUB_CLIENT_ID
NUXT_OAUTH_GITHUB_CLIENT_SECRET
NUXT_OAUTH_GOOGLE_CLIENT_ID
NUXT_OAUTH_GOOGLE_CLIENT_SECRET
NUXT_OAUTH_DISCORD_CLIENT_ID
NUXT_OAUTH_DISCORD_CLIENT_SECRET
NUXT_SESSION_PASSWORD=32_CHAR_ALPHA_NUMERIC_STRING

Development Server

Start the development server on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Deploy

Deploy the application on the Edge with NuxtHub on your Cloudflare account:

npx nuxthub deploy

Then checkout your server logs, analaytics and more in the NuxtHub Admin.

You can also deploy using Cloudflare Pages CI.