This project create for Retrofit tutorial that publish in my youtube channel, all of data save in json file so you don't need configure any database connection :)
just install Node.js in your system
$ git clone https://github.com/atahani/rest-api-sample
$ cd rest-api-sample
$ git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(git branch --track $2 $1/$2\n)} else {$d{$_}=1}' | csh -xfs
NOTE: in this repo we have two branch simple_rest_api
and rest_api_with_authentication
$ git checkout simple_rest_api
$ npm install
$ node server.js