Open nelsonic opened 4 years ago
Includes a basic query interface: npx prisma studio
Tomorrow I will be diving into this example: https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql-apollo-server
The project switched to DynamoDB
and it's much worse than PostreSQL
.
The query syntax is clumsy, there are no joins between tables and scans are slow.
All so that they don't have to manage a Database.
Which is bonkers considering there is Aurora: https://aws.amazon.com/rds/aurora
which is fully managed cheap and fast.
Keeping this Open as the tutorial I'm writing uses Node.js and Prisma is a good idea in Node-land.
I hadn't used Prisma before today. https://github.com/prisma/prisma It's much nicer than other other Node/TS ORMs. Try it: https://www.prisma.io/docs/getting-started/quickstart-typescript
It's not quite "5 mins", but close enough.
If you're using Postgres/MySQL in Node.js, this is the way to go.