Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 3.44 KB

README.md

File metadata and controls

58 lines (43 loc) · 3.44 KB

Basejump Nextjs Starter

Adds a Nextjs starter app on top of Basejump core. This is a complete interface with support for personal accounts, team accounts, invitations, managing members/permissions and subscription billing.

Learn more at usebasejump.com. Ask questions on X / Twitter

Image Description

Basejump Core Features

  • Personal accounts: Every user that signs up using Supabase auth automatically gets their own personal account. Billing on personal accounts can be enabled/disabled.
  • Team accounts: Team accounts are billable accounts that can be shared by multiple users. Team accounts can be disabled if you only wish to allow personal accounts. Billing on team accounts can also be disabled.
  • Permissions: Permissions are handled using RLS, just like you're used to with Supabase. Basejump provides convenience methods that let you restrict access to rows based on a user's account access and role within an account
  • Billing: Basejump provides out of the box billing support for Stripe, but you can add your own providers easily. If you do, please consider contributing them so others can benefit!
  • Testing: Basejump is fully tested itself, but also provides a suite of testing tools that make it easier to test your own Supabase functions and schema. You can check it out at database.dev/basejump/supabase_test_helpers. You do not need to be using Basejump to use the testing tools.

Next Frontend Features

  • Basic Dashboard: A basic dashboard implementation restricted to authenticated users
  • User Authentication: Support for email/password - but add any auth provider supported by Supabase
  • Personal accounts: Every user that signs up using Supabase auth automatically gets their own personal account. Billing on personal accounts can be enabled/disabled.
  • Team accounts: Team accounts are billable accounts that can be shared by multiple users. Team accounts can be disabled if you only wish to allow personal accounts. Billing on team accounts can also be disabled.
  • Billing: Basejump provides out of the box billing support for Stripe, but you can add your own providers easily. If you do, please consider contributing them so others can benefit!

Quick Start

  1. Run yarn install
  2. Run supabase start
  3. Create a .env.local copy of the .env.example file with the correct values for Supabase
  4. Run yarn dev

When you're ready to work on billing, you'll need to set up a Stripe account and add your Stripe keys to your supabase/functions/.env file. There's an example file you can copy.

Helpful Links

Contributing

Yes please! Please submit a PR with your changes to the basejump-next github repo.

You can contribute in the following places: