/basejump

Primary LanguageTypeScriptMIT LicenseMIT

Basejump SaaS starter for Supabase

Installation

yarn
yarn dev

Typescript and generated types

We've implemented automatic type generation based off of your Supabase database config. You can learn more about this setup in the supabase docs on type generation

To update your types, run:

yarn generate-types

You can then reference them as

import Database from '@/types/supabase-types';

const profile: Database['public']['Tables']['profiles']['Row'] = {name: 'John Doe'};

Code Formatting and linting

The project is configured to use ESLint and Prettier. Prettier is run through ESLint, not on its own.

Internationalizatoin and translations

Basejump uses NextJS built in internationalization, and adds next-translate for translation support.