Skip to content

Example app using knex.js, bookshelf.js and express!

License

Notifications You must be signed in to change notification settings

GORGES/knex-bookshelf-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knex-bookshelf-example

To Run App Locally:

Create your database locally and add username and db name to knexfile.js development config object.

Run the following commands in order from the root of your project to create tables, seed tables and start node server.

  1. Install dependencies
$ npm install or yarn install
  1. Run migrations
$ knex migrate:latest
  1. Run seed files
$ knex seed:run
  1. Start server
$ node server.js

Server listening on port: 3000

Test existing endpoints on Postman!

About

Example app using knex.js, bookshelf.js and express!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%