Skip to content

mubaraktijani/nodejs-admin-rest-api

Repository files navigation

Little restify + bookshelf bootstrap

This is a little app to organize a new NodeJS project. Is a little user CRUD.

Contains:

  • Restify
  • Bookshelf (Knex.js)
  • MySQL

How to run it

  • First, create Mysql database and user
  CREATE DATABASE demo_dev;
  CREATE USER demo@127.0.0.1 IDENTIFIED BY '123456';
  GRANT ALL PRIVILEGES ON demo_dev.* TO 'demo'@'127.0.0.1';
  • Install prerequisites
  npm install
  npm install knex -g #Install globaly to use the CLI
  knex migrate:latest
  node-dev app.js

About

A Admin panel Rest API with inbuilt ACL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published