Seeding NestJs with Prisma And Faker

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • typescript-starter

    Nest framework TypeScript starter :coffee: (by nestjs)

  • git clone https://github.com/nestjs/typescript-starter.git project cd project yarn yarn add -D prisma npx prisma init

  • Faker.js

    Discontinued What really happened with Aaron Swartz?

  • Now: onto the actual seeder using faker for generating random data and dotenv to initialize environment variables :

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • dotenv

    Loads environment variables from .env for nodejs projects.

  • Now: onto the actual seeder using faker for generating random data and dotenv to initialize environment variables :

  • Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  • I've been working on this college project and I chose NestJs for the backend. You could just Hasura or other BaaS platforms for small projects. But I wanted to learn NestJs.

  • nestjs-prisma-seeder-template

    Example of setting up seeder template

  • Source code : https://github.com/100lvlmaster/nestjs-prisma-seeder-template

  • Hasura

    Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

  • I've been working on this college project and I chose NestJs for the backend. You could just Hasura or other BaaS platforms for small projects. But I wanted to learn NestJs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts