CRUD actions written in NodeJS/ExpressJS and MySQL.
Check live demo : http://cs9-node-mysql-crud.herokuapp.com/customers
- ExpressJS
- Knex
- Bookshelf.js
Clone the project using command
git clone https://github.com/chetans9/node-mysql-crud.git
OR by downloading the zip file.
navigate to the project folder
cd <project folder>
Install Dependencies
npm install
For migrations to work you need to have knex installed globally. Install using below command
npm i knex -g
create a new Mysql database and configure database name in config/development.json file and run :
knex migrate:latest
Start the server
npm start
the server will start listening on port 3000 by default
open url http://localhost:3000
- ExpressJS - Framework
- Knex - MySQL
- Bookshelf.js - ORM