Reputation: 274
I want to create a RESTful webs ervice with OAuth by Node.js, but I don't know where to start with.
I mean I want to make my own server (something like Google or Facebook does). For example: you make an App, when your App wants to get some Facebook user's resources or authorization, it has to send to Facebook a request_token and then gets back an access_token. Then I create another client to get request_token and access_token from the server I have created before.
Maybe my question gets some mistake because I'm new to this topic. Hope someone understand my problem.
Upvotes: 4
Views: 4605
Reputation: 2221
You need a lot to read before start your own restful server, take a loot at this answer for theory about api servers.
An then you would see with tools/package fill your needs, maybe you can take a look at those:
Updated 2012-12-28
Take a look at actionHero, is a node.js API framework for both tcp sockets, web sockets, and http clients. The goals of actionHero are to create an easy-to-use toolkit for making reusable and scalable APIs. actionHero provides cluster support, shared cache, integrated delayed processing, and more.
Upvotes: 5