This boilerplate provides a quick start for building applications using Next.js, Tailwind CSS, and Supabase. It also includes basic components from Shadcn, and built-in authorization through GitHub, Google, and email OTP.
We've made this primarily for our own use. But if you find it useful, fantastic!
Next.js: A React framework for building modern web applications.
Tailwind CSS: A utility-first CSS framework for rapid UI development.
Supabase: An open-source Firebase alternative that provides a backend-as-a-service.
Shadcn: A library of basic components for building your UI.
Authorization: Built-in authorization through GitHub, Google, and email OTP using Supabase.
Light and Dark Modes: Easily switch between light and dark themes.
Toaster Notifications: A built-in toaster function for displaying notifications.
This boilerplate assumes you have run the User Management Starter from your Supabase SQL Editor.
If you've followed along with the Web-App Tutorial for Next.js you'll have already added the triggers and functions for avatars, otherwise the SQL commands to keep your user avatars up to date can be found here.
git clone https://github.com/Bippitee/supanext-boilerplate.git
npm install
# or
yarn install
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Contributions are welcome! Please open an issue or submit a pull request.