A template to auto generate RESTful API and admin dashboard using rest-hapi and adminBro Hapi plugin.
You need Node.js version >= 12 installed and you'll need MongoDB installed and running.
clone the repo
$ git clone https://github.com/marquelzikri/rest-hapi-admin-bro
$ cd rest-hapi-admin-bro
install the dependencies
$ npm install
copy env file
$ cp .env.example .env
seed the models
- Local db
$ ./node_modules/.bin/rest-hapi-cli seed
- External db
$ ./node_modules/.bin/rest-hapi-cli seed <your mongoDB url>
start the api
$ npm start
view the api docs at
view the admin dashboard at