Backend with Fastify - Part 4 (Seeding Database with Knex)
Continuing from part 3, we will explore how to seed data using Knex.
To follow along, you can use the part-3 branch from this repo. The full code for this post is in the part-4 branch.
Power of seeding
Seed files allow us to populate the database wit...
blog.arjandhakal.com.np2 min read