birds-feed-api
Birds feed api provides access to data on birds. Its fun to do this abstract thing. This is a simple token based authentication api, which expires in some minutes. Its completely written with Node and hapi.js framework.
Dependencies.
"dependencies": {
"babel-core": "^6.24.1",
"hapi": "^16.1.1",
"hapi-auth-jwt": "^4.0.0",
"knex": "^0.12.9",
"pg": "^6.1.5"
}
Database
- Postgres
Instructions
$ git clone https://github.com/saviour123/birds-feed-api.git && cd birds-feed-api
$ npm install
//Install the dependencies$ sudo npm install -g knex
. //Install knex cli and create dbs with fun.$ knex migrate:latest
Migrate/create the database with love$ knex seed:run
//to add dummy data
Start the Server
$ npm start
Testing(any of your favourites): Recommended
License
MIT