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.
- Install dependencies
$ npm install or yarn install
- Run migrations
$ knex migrate:latest
- Run seed files
$ knex seed:run
- Start server
$ node server.js
Server listening on port: 3000
Test existing endpoints on Postman!