Closed sergey-shambir closed 6 years ago
Refactoring mostly finished, frontend now works with backend, changes pushed to master branch
I've implemented buildlistener.go
which listens for BuildFinished event, takes build report and updated commit
and solution
tables.
So refactoring finished.
Currently, frontend written with Node.js and serves HTML page for client browser. It's better to separate domain logic into new component - 'backend', written in Go. The new component should have JSON REST API, which serves frontend. Frontend should only serve HTML pages without any domain logic.
restapi
with common REST API service code shared betweenbuilder
andbackend
componentsbuilder
component to userestapi
library, run builder tests (Python script)backend
component which re-implements student use casesbackend
- in Python, just like tests for thebuilder
buildlistener.js
inbackend_service
frontend
to usebackend
internally - delete SQL connector, Repository, rewritebackendapi.js
to usebackend_service instead of
builder_service`, remove RabbitMQ integration, rewrite request handlers