DimiMikadze / fest

SaaS boilerplate built with Node.js & React.
MIT License
207 stars 19 forks source link

Database initialization not included in instructions #3

Closed lowlyocean closed 1 year ago

lowlyocean commented 1 year ago

After following instructions from README, navigating to localhost:3000 triggers this line which produces following error (which suggests that some step in instructions is missing in order to initialize the database)

[Nest] 22180  - 01/03/2023, 3:27:40 PM   ERROR [ExceptionsHandler] 
Invalid `prisma.user.findUnique()` invocation:

The table `public.User` does not exist in the current database.

Update: From experimenting, it seems README should include that the following command is needed: yarn prisma:migrate:dev init

DimiMikadze commented 1 year ago

Thank you, it looks like I missed that step. I'll add it in the readme.

DimiMikadze commented 1 year ago

https://github.com/DimiMikadze/fest/commit/016f60ed3813a9f06a9cceff017be6c20ff21d20