README

Technology

  • express js
  • nodejs v8 linux
  • Mysql
  • Postman

SETTING YOUR OWN DATABASE

set it in folder config > database.js create database in in your mysql :

mysql> CREATE DATABASE hotel_booking

INSTALL DEPENDENCIES

$ npm install
$ npm install -g knex
$ knex migrate:latest

RUN SERVER

inside repository

$ node server.js 

Testing use Postman

import to your own Postman, import from link a link