codosseum-org / backend

Backend service for Codosseum
GNU Affero General Public License v3.0
0 stars 0 forks source link

Extract challenge management to external microservice #11

Open JohnnyJayJay opened 1 year ago

JohnnyJayJay commented 1 year ago

The plan so far has been that the backend (this app) manages challenges it pulls from a source such as git or a plain directory. For a variety of reasons, it might be nicer to extract this logic to a different service:

The new challenge microservice should essentially do the following:

Additional endpoints that could be useful in the future, but aren't a priority:

How to ID challenges is still somewhat of an open question when multiple sources are involved. I would just focus on a single-source implementation for now and use file names as IDs.

The new project should probably be AGPL-3.0-or-later, like this one.