Render all components used in containers/Index.jsx starting from Index.jsx itself.
Clicking CHECKUP button, makes a POST to /api/checkup with form data
Return result (as json) if any checkup result exist on our database for this project and see progress indicator for next step ( doing new checkup...)
Run checker scripts against the user's repository
Update database with results
Return results (from database, not directly for now) to react app as JSON
After we finalize the format of JSON reponse, we will change little bit of code and the props of react components, then react will handle the UI update.
We need to decide if that flow is OK before starting to code, everything after the 4th step doesn't seem cool enough to me
We need to discuss what should be in response, update everything according to that such as Models #9 , implementation of /api/checkup
Since the project is in very early stage of the development, I decided not to use DB for now, just run checker and return current results for each request.
CHECKUP
button, makes a POST to/api/checkup
with form datadoing new checkup...
)After we finalize the format of JSON reponse, we will change little bit of code and the props of react components, then react will handle the UI update.
We need to decide if that flow is OK before starting to code, everything after the 4th step doesn't seem cool enough to me
We need to discuss what should be in response, update everything according to that such as Models #9 , implementation of
/api/checkup