Building NodeJS REST service and consuming it from within Android application
Building NodeJS REST service and consuming it from within Android application Introduction In this tutorial I will walk you through the process of building REST service in NodeJS. That service will enable Android users to authenticate to the back-end and set their profile photo. Using the code The application consist of two parts: Backend: RESTful service written in NodeJS Mobile: Android app written in Java Part 1. - NodeJS back-end Back-end part will enable users to: Login using email/password combination Upload their profile picture The source code is located on Github . For simplicity reasons here I am going to highlight only the important parts of the code. app.js var express = require('express'); var http = require('http'); var path = require('path'); var app = express(); var util = require('util'); var multiparty = require('multiparty'); var multer = require('multer'); var upload = multer({ dest:...