Skip to content

h-campos/nextjs-template

Repository files navigation

NextJS Template by hcampos

This template enables you to set up a project quickly with numerous useful libraries. There are two versions available – one with Supabase and Supabase Auth for simplified authentication, and another version without Supabase.

A default Prisma schema is installed in the project, which is the one suggested by the Prisma documentation. Therefore, remember to modify it and run the following command (with npm, yarn or pnpm) :

pnpm prisma:migrate

Librairies

Utils

FAQ

How to change the values insert in the database using the seeder ?


Open the seed.ts file, you can find this file in the src/lib/utils/prisma folder. Then change value in the main function.


How to get the second version without Supabase and Supabase auth ?


Click on the button Use this template and create a repositorie, don't forget to check the ckeckbox ìnclude all branches, then and the created repositorie change the current branch stable to the one who's called without-supabase.