- Prisma Concepts:
- Prisma Schema (schema.prisma):
- Prisma Database Migrations:
- Is Prisma an ORM?
- Prisma REST Implementation:
- Prisma/Express.js Example Project:
Purpose: This will fill in the database with users who have regular plaintext passwords of 123 for testing. In your code, use bcrypt for hashing all passwords stored in the database.
- Go to the 'backend' dir cd backend
- Create your database using a Prism schema migration (if you haven't done it yet): npx prisma migrate dev --name init
- Populate the database with fake data npx prisma db seed