Giter Site home page Giter Site logo

jaykay12 / auth-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 38 KB

CI/CD enabled Authentication API based on Flask-SQLAlchemy

Home Page: https://auth-api-flask.herokuapp.com/api/

License: MIT License

Python 98.75% Shell 1.25%
flask-sqlalchemy flask-api authentication-backend heroku-deployment heroku-postgres travis-ci hacktoberfest

auth-api's Introduction

Hi there ๐Ÿ‘‹

auth-api's People

Contributors

jaykay12 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

auth-api's Issues

Travis CI Integration

Once unit test cases are written and deployment pipeline is set with proper git hooks, Travis CI/Code Ship Integration with the API is required

oauth failing on deployment for github

Github

No support for multiple callback URLs as of now.

The bad news is we can't insert more than one callback to GitHub OAuth setting.
Good news is that we can use multiple callback sub-url under our callback url, then you can redirect(proxy) it to any callback url that you want.

Refer to the Stackoverflow Question


One quick fix is having 2 different GitHub OAuth Apps, one for prodcution and other for localhost. But that's the last resort available.

database schema update needs to be smooth

Present Condition:

In case of any changes made to the DB schema in models.py
In all environments, database needs to be reset else it throws up an error.


Requirement:

If any change is there in the schema, new tables should be created while deleting older ones, so that no DB reset is required on production as well.

Fixing old commit history

Earlier I was using git config --global user.email "[email protected]" and once this email id is removed from the GitHub account. The Commit Author becomes unrecognised. This needs to be fixed.

Screenshot from 2020-05-05 12-59-42

combine dev and stage bash scripts

Currently having 2 separate bash scripts for running app on dev and stage environment.

  • Convert them into single start.sh
  • Use flag valued like --stage and --dev (-s and -d)
    -Make --dev as the default behaviour
  • Update builder guide accordingly

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.