Adapted to latest json-server

json server changed the CLI (no need for -f), and the directory structure (index needs to reside in public/).
Following changes address this.

Thanks for an excellent example!