Go to file
Damir Modyarov 21c02df7f0
Implement short link redirect service (#180)
* Implement short link redirect service

* Silence linter where imports needs to be below setup

* Improve unknown link error

* Provide session to worker to convert it to user id

* Remove main entrypoint in favor of uvicorn command

* Add base path for relative URLs

* Add docs on launching redirect service to README.md

* Fix wrong task argument name

* Lint service code
2023-08-08 13:57:32 +03:00
.envs docker fix 2023-01-03 10:58:52 +03:00
.github fixing ci 2023-03-27 18:14:55 +03:00
akarpov updated link model for integration 2023-08-06 09:23:21 +03:00
compose Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
config added blog api, updated user api 2023-08-01 04:08:11 +03:00
docs added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
locale added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
logs updated readme, env and logs 2022-12-20 19:29:29 +03:00
redirect Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
.dockerignore added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
.editorconfig added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
.env.example Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
.gitattributes updated gitattributes 2023-03-17 10:58:18 +03:00
.gitignore updated pre-commit 2023-02-16 01:12:50 +03:00
.pre-commit-config.yaml reformed project 2023-02-16 10:38:42 +03:00
.pylintrc added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
.readthedocs.yml added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
clipboard.min.js added shortcutter view meta 2023-08-05 11:41:29 +03:00
CONTRIBUTORS.txt added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
LICENSE added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
local.yml added og meta tegs 2023-04-21 13:52:09 +03:00
manage.py added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
merge_production_dotenvs_in_dotenv.py reformed project 2023-02-16 10:38:42 +03:00
models.png removed cms, updated music 2023-06-05 22:04:42 +03:00
poetry.lock Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
production.yml added og meta tegs 2023-04-21 13:52:09 +03:00
pyproject.toml Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
pytest.ini added users, blog, fixed docker 2022-11-23 11:41:43 +03:00
README.md Implement short link redirect service (#180) 2023-08-08 13:57:32 +03:00
setup.cfg updated navbar, reformed project structure 2023-02-16 14:00:16 +03:00

akarpov

My collection of apps and tools

Writen in Python 3.11 and Django 4.2

Start up

installation

$ poetry install & poetry shell
$ python3 manage.py migrate

local run

$ python3 manage.py runserver
$ celery -A config.celery_app worker --loglevel=info
$ uvicorn redirect.app:app --reload

local run via docker

$ docker-compose -f local.yml up

refactoring code

$ pre-commit install
$ black akarpov
$ no_implicit_optional akarpov
$ mypy --config-file setup.cfg akarpov

list of projects:

  • blog
  • fileshare
  • music radio + processor
  • test platform
  • short link generator
  • about me app