I am not able to deploy the app. So far I have set and tested the smtp and database url.
The db was successfully created and after some tsconfig problems I was able to run the prisma/seeds.ts to fill thedb with dummy data.
Locally I have the problem that login does not work. The seeds admin credentials have been changed though.I am receiving the OTP but im not redirected to the next page.
Is it because the JWT Secret is missing?
When I was trying to deploy the app to vercel, I have been getting too many errors with eslint and module import errors. I have fixed the eslint errors quick and dirty by temporary putting eslint off.
I want to know if there are common tips you may give to notice when building for production. It is all good when I run the development environment.
Is the current app limited in functionality or are the full features working already? (Because the demo app shows limited functionality aswell)
What is the idea behind the admin and storefront directories? I could not really read it somewhere.
USER@DESKTOP-K4G6NPR MINGW64 /c/Development/next-prisma-tailwind-ecommerce/packages/database (main)
$ yarn db:generate
yarn run v1.22.15
$ npx prisma generate
Prisma schema loaded from prisma\schema.prisma
Error: Could not resolve prisma and @prisma/client in the current project. Please install them with yarn add prisma -D and yarn add @prisma/client, and rerun npx "prisma generate" 🙏.
error Command failed with exit code 1.