Node.JS - ExpressJS - Firebase Authenticated HTTPS Restful Webservices Framework by Badruddin Kamal
This is a simple Node.JS resfult framework that is built on expressJS and uses HTTPS. It has been built to simplify Firebase webservices deployment and demonstrate secure Restful webservice creation with Firebase. Ideally, it is geared towards Firebase developers who need to create backend webservices,as a mechanism for fast deployment.
Dependencies:
Node.JS ExpressJS CORS https fs Firebase
Resources:
Firebase - https://www.firebase.com/docs/ Express - https://expressjs.com/ Cors - https://www.npmjs.com/package/cors HTTPS - http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/ FS - http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/
Deployment:
You will need to create a node project and add the dependencies to your node project and configure the package,json accordingly. Further you will need to create and add the HTTPS certificate to the service, for this it is advisable to read up on the HTTPS resource blog post by Minko Gechev here - http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/
Note *** your request body should contain the following fields.
Token: From Firebase session uid: From Firebase session
Happy Coding :)