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
- a http server runs on linux/windows
- a private rest api allows post json object, plus login mechanism, authorised user can post.
- 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
Post a Comment