Answer the question
In order to leave comments, you need to log in
I don’t understand what the employer wants, how to implement fronted via api?
I apologize in advance for the obviousness of the question, but time is running out. The terms of reference say:
"The application once every N minutes requests a list of vacancies that service A provides and saves the id ,
title , state , owner fields for new vacancies. If the vacancy object already exists in the application database, then it is
necessary to synchronize the status. If in the received list does not contain a previously synchronized
vacancy, its status is changed to ARCHIVE .The
application has its own API, through which the front-end receives a list of synchronized vacancies
with the ability to filter by status and owner.By default, a list of
synchronized vacancies is displayed with all statuses except ARCHIVE . archived vacancies
view by applying a filter. The displayed list is updated without reloading the page."
How exactly to output data to the front using api? Here is my rest
Do I understand correctly that I do not need to render the html template? How can I start the front then? A quick search of the search engine did not give anything. Thank you
Answer the question
In order to leave comments, you need to log in
You understand correctly, you don't need to render the html template. It is necessary for the web server to send front statics from the root URL, and the javascript code of this front will pull the endpoints of your API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question