Skip to content

raydcode/knex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knex SQL query builder

  • refer-docs:https://knexjs.org/

  • You can also use KnexCli to genearate migration and configuration setup:

install knex globally :

npm install knex -g
 knex init

or

npx knex init
  • Install Dependencies:
npm install
  • Start the Server :
npm install
  • Migrate to PostgresSQL
  • npx knex migrate:latest --knexfile db/knexfile
npm run  migrate
  • Seed to PostgresSQL
  • npx knex seed:run latest --knexfile db/knexfile
npm run seed

** Replace db > knexfile database configuration it's my personal profile credentials

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published