maxbaluev / basejump

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:TypeScript 65.9%Language:PLpgSQL 31.8%Language:JavaScript 2.3%Language:CSS 0.0%