https://github.com/quatrolavita/magic_link
https://magic-link2234.herokuapp.com/
https://github.com/quatrolavita/magic_link
flask postgresql python sqlalchemy
Last synced: about 2 months ago
JSON representation
https://magic-link2234.herokuapp.com/
- Host: GitHub
- URL: https://github.com/quatrolavita/magic_link
- Owner: quatrolavita
- License: gpl-3.0
- Created: 2020-09-08T17:53:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T20:59:31.000Z (almost 6 years ago)
- Last Synced: 2025-02-22T18:17:53.777Z (over 1 year ago)
- Topics: flask, postgresql, python, sqlalchemy
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Future Proof Technology Test Task
Test task require to develop solution that can authorize without using email and password. First of all, we need to generate secure token. Token must contain information about user. This data must be encrypted, otherwise malicious people can access sensitive information. I am not cryptographer, that means l can't make secure solution, but there are many extension that can help me. In this task i use `itsdangerous` for generating token. It is both secure and well testing lib.
# HOW TO USE?
1. Go https://magic-link2234.herokuapp.com/create_delete
2. Add Email to the form
3. Check your email and follow the link
If you want to remove "access" just add your email again
# HOW TO TEST?
1. Clone git repo
2. ```python manage.py db init```
3. ```python manage.py db migrate```
4. ```python manage.py db upgrade```
5. ```python manage.py test --coverage```