node API and front end (get and post)