flatsurface

FlatSurface is NodeJS API builder BFF.

npm install flatsurface
6 downloads in the last day
24 downloads in the last week
111 downloads in the last month

FlatSurface

Build quality API faster

Have you written several APIs for web apps in the past? Then, just like us, you must have realised that you've been duplicating a lot of code.

Wouldn't it be nice to be able to share API resources (like user creation/login/sign up/etc) between projects?

But every project is different! So for this to work, we would also need to be able to extend these API resources...

And while on the subject, writing input parameter validation code is so tedious, wouldn't it be such a relief to get it automatically generated so that we can safely trust user inputs?

Last but not least, keeping an API documentation up-to-date is very painful. Couldn't we just keep it up-to-date by automatically regenerating it?

Our lives would be much easier on the server-side if we could get a solution for all these points.

This is the reason why we built FlatSurface: our attempt to help others build a quality API faster.

FlatSurface is based on NodeJS (restify) and MongoDB (mongoose).

TODO

  • automatic curl example in doc
  • automatic response
npm loves you