Unfortunately, Prisma does not help you with security in any idiomatic fashion. As a result, I've decided not to implement. A few random notes I took along the way:
datamodel.prisma
correct, run dotenv yarn prisma deploy --new
@id
and @createdAt
/ @updatedAt
*cart
methods with built-in prisma librarycp .env .env.example # and fill in
yarn
service postgresql start
docker-compose up -d
dotenv yarn prisma deploy
Then go to http://localhost:4466