npx create-next-app proy-name cd proy-name
npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6 npm i @chakra-ui/icons // PELIGROSON npm i @types/react @types/next @types/node npm i @tanstack/react-query formik yup prisma axios
code .
npx prisma init
.env
DATABASE_URL="mysql://USER:PASSWORD@HOST:PORT/DBNAME"
npx prisma db pull npx prisma generate
- modificar el archivo schema.prisma npx prisma db push npx prisma generate
npm install @supabase/supabase-js
NEXT_PUBLIC_SUPABASE_URL="https://xxxxx.supabase.co" NEXT_PUBLIC_SUPABASE_KEY="xxxxx"