Skip to content

garveworm/sayollo

Repository files navigation

sayollo

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

docker-compose up
and run migrations in separate tab with

docker exec -it sayollo_backend python manage.py migrate

Example 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages