Testing out a Nodejs API for Dragons
git clone https://github.com/nsitu/dragons.git npm install
create a .env file containing mongodb connection string (see .env.example for reference) setup apache or another proxy to map URLs to the appropriate ports
node app.js
install a tool such as pm2 to daemonize the app, then: pm2 start app.js
assuming you have a mongoDB collection containing pokemon from the Pokemon API
you might adapt this to fit some other kind of data by adjusting the query and projection in app.js