Documentation Platform NodeJs.
Documentation NodeJs Framework Express.
Documentation SQL Database Module Knex.
Install knex
globally on your local computer.
npm install knex -g
This will allow us to use knex
as a command line tool that helps you create and manage your knex files.
npm install nodemon --global
npm install
cp .env.example .env
Migrate database
knex migrate:latest
Seed Database
knex seed:run --specific=users.js
Run Application
nodemon start
open http://localhost:8080 to make sure it's work
Enjoy coding