shahednasser / knex-tutorial

Code for Knex.js Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knex.js Tutorial

Code for Knex.js Tutorial.

Installation

After cloning the repository, install the dependencies:

npm i

This project uses SQLite by default. If you need to make changes to that make changes in db/knexfile.js.

After that, run the following to execute the migrations:

npm run migrate

Then, add demo data:

npm run seed

Running the Server

To run the server:

npm start

About

Code for Knex.js Tutorial


Languages

Language:JavaScript 100.0%