We need a small application to be created in Flask using blueprints. Main application functionality must be contained in the blueprint, and the outer Flask app should mainly set it up for running.
The service will receive an URL from a HTTP client within a JSON payload. The server will use that URL to query a database and return a result which will tell if the client is allowed to access that URL.
Every request to check for an URL should be logged in a history collection in the database, tied to the client ID which made the request. Specific details about what fields in the database should be queried and the expected logic will be provided to the selected candidate.
We are still defining if we'll use MongoDB or MySQL as the back-end. So it would be better if you are familiar with both database options.