A
A
Andrey Popov2021-03-25 12:12:03
Software design
Andrey Popov, 2021-03-25 12:12:03

Who is planning the REST API in the SPA application?

Please tell me how to organize team work?
The team has 1 frontender and 1 backender. The task is to make a SPA application with a REST API on the back end.
Which of them should think about what endpoints and data structure should the REST API have?
1. The frontender makes the front and, as necessary, tells the backender what API endpoints it needs and with what data
2. The backender designs the API on its own, and the frontender adapts to its structure
3. Or are there other options?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis, 2021-03-25
@PvAndrey96

The type that the business model knows is described to developers, then the back builds the api, and the front builds the front, everyone should already know approximately what he needs and the front can successfully build its object interfaces for mocks and then it can already map fields with api if you want to try to negotiate so that less mapping, that is, response description standards, for example https://jsonapi.org/

S
Sergey, 2021-03-25
@oldzas

The "type" that describes the model is called the analyst.
Make a mind map, describe the structure, create sprints, describe the structure in sprints, hang small tasks as smart tasks.

S
Saboteur, 2021-03-25
@saboteur_kiev

let them sit down together and discuss politics. Ideally, a more experienced one would design, but does anyone bother them to communicate?
The main thing is that the recorded things are recorded somewhere. Like one said "this is needed", the second looked, made sure that it was feasible and looks normal, confirmed it.
After that, you can start working independently, you can do two stages for the backend - when the backend makes an endpoint with a stub, and when it makes a full-fledged endpoint.
You can use UML to write

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question