Possible to deploy without a database?

Hi @thedavid - thanks for helping!

This was definitely the right path. Here are all of the things that I had to do to make it work:

  • Delete the api/prisma directory
  • Comment out (or delete) everything in the api/src/lib/db.js file
  • Add the build scripts you specified to the api and web package.json files
  • Update the build command in the netlify.toml file to be command = "yarn workspaces run build"
  • Delete everything in the [[plugins]] section of the netlify.toml file

The first version of the app seems to be working on Netlify now. I’ll share it once it’s a bit further along.

By the way - I’m excited to try the integrated auth solution once there’s something to check out! I’ve got a separate app I’m working on where I’m manually integrating Auth0. It would be so nice if that Just Worked™!

1 Like