yarn
yarn dev
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'};
The project is configured to use ESLint and Prettier. Prettier is run through ESLint, not on its own.
- Prettier: Prettier ESLint Plugin
- ESLint: NextJS ESLint
Basejump uses NextJS built in internationalization, and adds next-translate
for translation support.