V
V
Vlad Timofeev2015-07-11 15:08:53
JavaScript
Vlad Timofeev, 2015-07-11 15:08:53

How to write Rest API?

Good day. Decided to learn React.js , and then it started.
I thought: "Is it worth spending time writing a REST API?"
I found this project: loopback.io
It is based on express, but does everything for us - from connecting the database to creating Authorization. Most likely you have heard of it.
So:
1) Doesn't it eat too much memory for extra processes that may not be needed in my project?
2) Is it worth using it or is it better to write api on express`e?
3) Does it make friends well with React.js?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-07-11
Protko @Fesor

Does it get along well with React.js?

Does react.js already have an http client? This library is for view layer only. So how to prepare the interaction with the API and will be friends.
https://parse.com/

T
Timur Shemsedinov, 2015-07-11
@MarcusAurelius

habrahabr.ru/post/247543

L
larionov_n, 2015-07-28
@larionov_n

I am writing a REST API in Python, Java. Now I'm working on a project where nodejs Koa is used and I saw that there is koa-rest 30 Million records it processes smartly, at the Python Tornado level. Use Memory Leack Detection to check for memory leaks . Koa - developed by the authors of express. Load tests due to the yield architecture are holding up well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question