1.2. Code repositories

GITFLOW!!!

Each environment will be composed of two projects: client and server, using a REST architecture. Therefore, it will have the characteristics of this type of implementation. Among them, we can mainly highlight:

Uniform interface

  • The interface is resource-based.
  • The server will send the data, so that communication with the databases will be transparent to the client.
  • The representation of the resource that arrives to the client, will be enough to be able to interact with the external resource, assuming that it has permissions.

Cacheable

  • On the web, clients can cache server responses
  • Answers should be implicitly or explicitly marked as searchable or uncheckable.
  • In future requests, the client will know whether or not it can reuse the data it has already obtained.
  • Saving requests will improve application scalability and client performance (mainly avoiding latency).

Client and server separation

  • The client and server are separated, their union is through the uniform interface
  • The developments in frontend and backend are done separately, taking into account the API.
  • As long as the interface doesn’t change, we can change the client or the server without problems.

For all this, it is advisable to follow good practices in programming REST applications for the maintenance and scaling of the platform.

The architecture of the client-server code will be explained in more detail in section 2 of this document, but here it is important to note that the client is implemented in Angular 5 and the server in node.js.

Move from them with the pipelines!!