Put in order · NestJS course · Module 3: TypeORM and Databases
Database seeding process
Arrange the steps of the database seeding process:
Items to put in order
- Connect to the database and clear existing data
- Verify the correctness of data in the database
- Run the seeder (e.g., ts-node seed.ts)
- Prepare seeding data in a TypeScript file
You can check the correct answer by solving this task in the CodeWorlds game.