S
S
stepaniwe2020-01-20 09:51:40
JavaScript
stepaniwe, 2020-01-20 09:51:40

How to make api for react js application?

New to this thread. Where to start designing, what tools are better to use, please advise

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kiriharu, 2020-01-20
@kiriharu

Since you are familiar with JS, I recommend using NodeJS with the ExpressJS framework to write APIs . Everything is described in detail, nothing complicated.
As an ORM, I suggest using Sequelize (for SQL) or Mongoose (for MongoDB). I recommend reading this article to understand which database is better to choose.
For examples, I advise you to go to github or just google something like "react js + nodejs example app". There you can see combat examples, for your level this will be enough.

B
BATPYIIIKOB, 2020-01-20
@BATPYIIIKOB

You can use ready-made platforms, for example: https://api-platform.com
Also there you can see how to correctly form an API for an
API service, no matter what your front
API service is, you can write in any programming language that works on the server (PHP, Node.js, Go, Python, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question