Skip to content

Ali-A-Koye/Nest.js-Knex.js-Starter-Template

Repository files navigation

Nest.js with Configured Knex.js Starter Template

Migrations & seeds

  • start with adding your Database Credentials to your .env file
  • then adding migrations/Seeds in Database folder
  • run npm run db:migrate to migrate the migrations , and npm run db:seed in order to run the seeds

Inject the connection to Nest.js modules

check the app module and you will see the connection there and check the app service to learn about how to inject this connection to your own services & modules

Extra

there is Extra folder which has some useful default columns that you can easily import it into your migrations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published