TGIMBA NodeJS – Part 8

Git Hub Code

NOTE: The API Git repository got scrambled and I had to start over.  The link above is correct.

Source Code (Tests) – https://github.com/ehelin/TgimbaNode

Well, I have have completed phase 1 of the The Globe In My Bucket Application (TGIMBA) Node JS API. It is implemented using the AWS Elastic Bean Stock. The calls now are over http. The next phase will be when I have placed the AWS API gateway in front of it. To communicate with that, I will use the same code I created for my Amazon Lambda blog posts.

Screen shots below!

Stay tuned!

Main API

MainAPI.png

API Check

apicheck

Get User Count

GetUserCount.png

Get Bucket List Items

GetBucketListItems.png

Process User True

processusertrue

Process User False

processuserfalse

Process User Registration

processuserregistration

Database Before Upsert

dbpre

Upsert

upsert

Database After Upsert

dbpost

Delete

delete

Database After Delete

dbfinal

 

References
1) https://nodejs.org/api/querystring.html
2) http://stackoverflow.com/questions/29617328/send-an-http-get-request-with-parameters-in-node-js
3) http://stackoverflow.com/questions/6912584/how-to-get-get-query-string-variables-in-express-js-on-node-js
4) https://github.com/chilltemp/tedious-promises
5) https://www.npmjs.com/package/dateformat
6) http://stackoverflow.com/questions/3552461/how-to-format-a-javascript-date

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s