Skip to content

allen-n/chat-with-gpt3

Repository files navigation

Create T3 App

This is a T3 Stack project bootstrapped with create-t3-app.

What's next? How do I make an app with this?

We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.

If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

How do I deploy this?

Follow our deployment guides for Vercel and Docker for more information.

Prisma setup workaround!

Prisma migrate wasn't working... Source See details on how to develop on dev and prod using prisma migrate: docs

  • Create 2 projects, and set the shadow-url to the dev project to do shadow migrations (see details)
  • ran prisma migrate reset (successfully)
  • added SHADOW_DATABASE_URL in my .env file and set it to the same value as DATABASE_URL (link says url and shadowDatabaseUrl should not be the same values)
  • added shadowDatabaseUrl = env("SHADOW_DATABASE_URL") to my shema.prisma datasource db config
  • ran prisma generate (successfully)
  • ran prisma db push (successfully)
  • ran prisma migrate dev --first-migration (successfully)