Test task for Sayollo.
Project is set up using Django, Postgres and Redis. I chose to use nosql db as it fits well for task of keeping track of number of visits for multiple users. Project makes use of docker and docker-compose.
project does not make use of database, but if you want to set up database run project with
and run migrations in separate tab withExample for impressions/ads endpoints:
curl -XPOST -F 'user_name=admin' -F 'sdk_version=1' 'http://localhost:8000/sayollo/impressions/'
Example of getting stats:
http://localhost:8000/sayollo/stats/?filter_key=admin