Git Product home page Git Product logo

api's Introduction

MagicLinkGenerator

An authentication library made for you to take control of your own authentication.

Owning a domain and an email can have several benefits, you don't have to use those random generated (random subdomain).something.(Whatever fancy TLD they now these days.) It also has one more benefit that we are going to make use of in this library.

SMTP server

A smtp server manages the outgoing mails and every Email provider must have it. It works on two ports SSL and non SSL (Real ports can vary eg. 465 and 587). When we go to our all fancy, customized and tagged dashboards which we never use properly, sends request for to send a mail.

Tired of using third party auth providers.

Customiizing an authentication mail and when a user logs in is a satisfactory feeling, whereas using external libraries is a cumbersome process setup their SDK's send them analytics data even after unchecking the send analytucs reports checkbox and not much customization to go with.

Limits of this project

Ofcourse as your needs grow it might not be a good idea to manage such low level and of utmost Importance (Communication) servuce on your own but until then these are the limits These may vary from providor to providor and depending on your mail plans

At the time of writing this with a normal HOSTINGER plan I had 3000/Mails/Day which is sufficient for a hobby project or even a small business.

Instructions

  1. Need a Redis instance.

    docker pull redis

  2. Setup this project
    git clone [email protected]/ashweenmankash/magiclinkgenerator.git
    python -m venv env
    source ./env/bin/activate
    pip install -r requirements.txt

  3. Setup your .env files.

BROKER=redis://localhost:6379
SECRET= a secret that is shared between you and your service
SMTP_SERVER=smtp.hostinger.com
SMTP_PORT=465
MAIL_ADDRESS= your email address
MAIL_PASSWORD= your email's password
SERVICE_NAME= Your business name
4) Run!
python -m app

You can deploy this app directly on Railway

Deploy on Railway

api's People

Contributors

railway-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.