json - Implement a http server with RESTful http API -


i've started learn backend development, focus on http server mainly. i'm new this, it's little out of focus me, , use advice.

for example, if try implement this

  1. a http server runs on linux/windows
  2. a private rest api allows post json object, plus login mechanism, authorised user can post.
  3. implement public rest api allows same json object

and here question: can use nodejs , express implement these? know little them. need database implement login mechanism? there similar tutorial or best practise can study from?

regards

ben

  • yes, can use nodejs this.

  • not necessarily. need way authorise users. common use database store username/email , password, using third-party service this, example facebook or google

  • yes, there lot of tutorials , best practices on subject. question broad link relevant material, terms can use google "nodejs rest api" "rest api best practice". passport.js place start getting authorising users. rest-api, closer normal web standards, better - if other people going consume api.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -