E
E
ettge2017-04-25 00:17:53
JavaScript
ettge, 2017-04-25 00:17:53

How to raise your API server and manage data?

There is an application with Axios, which uses JSON via API to pull content (headers, text, etc.). While I use services with a demo API, I'm testing. For example, just kicking up a json-server with a static local JSON file. For production, I don't think it's good enough.
There was an idea to make my own API server, on which I can manage, edit JSON through the GUI. Something like API CMS (I tried a couple, for me it turned out to be an overkill, and it costs a lot).
What are the solutions for this? What are the best practices?
firebase? Mongo? Swagger? loopback? Your API server on Express? GraphQL? parseserver? Eyes to be honest run up and little experience.
There are not many requirements at this stage:
1. the data must belong to me, i.e. I can make free backups in JSON (but it can also work from a cloud, there is no confidential there)
2. convenient GUI, web or something like MongoDB Compass
3. convenient interaction with data, low input threshold
4. performance, in principle, does not play a role , because the data from there will not be requested directly to the client - I will request them myself at the time of the server-render application build (that is, when the content is updated). ready-made rendered statics will be sent to the client. those. I essentially need my own closed development server.
I would be grateful for any tips on the topic.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
artkhromov, 2018-10-10
@artkhromov

There is also deployd.com
There was an experience of using self-hosted Node-RED for these purposes
Well, in general, a self-written solution is faster and easier.
+ with the help of https://zeit.co it is also deployed in one line.

P
profesor08, 2017-04-25
@profesor08

Sublime Text, Notepad++ etc. Any program that allows you to edit JSON in a convenient way. It is difficult to come up with the best for statics, you can only weigh it down with unnecessary complexities.
If you are getting data from somewhere there, then on JS JSON.stringify(data);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question