Live data from Hacker News

What are some frameworks for building APIs straight away?

news.ycombinator.com

1–4 of 4 posts

What are some frameworks for building APIs straight away?

#1
I like Rail, but it has a lot of upfront configuration just to get started. I'll skip the details, but what are some frameworks that have authentication and authorization (OAuth2) out of the box? I just want to clone the project, setup the database, and start writing endpoints.

Re: What are some frameworks for building APIs straight away?

#3
First ask yourself if the project really needs its own REST API server. 9 out of 10 times I end up using a BAAS service like parse.com where: user management (auth) is built-in, there is cloud code in case something must be run server-side, the free account is resourceful enough to get you started and then scaling is automatic. There will be limitations of course but if you need something faster than a pre-cooked API repo, that's the way to go.

Re: What are some frameworks for building APIs straight away?

#4
Sails.js (is based on ExpressJS) is a great for creating APIs, saves a lot of time if you're doing a MVP or testing something, and you can use a package to integrate PassaportJS which will give you the ability to use OAUTH2 well integrated to the framework.

I always use Sails when I doing an MVP or a simple API.