Nodejs server and rest api working and server json