jaykay12 / auth-api Goto Github PK
View Code? Open in Web Editor NEWCI/CD enabled Authentication API based on Flask-SQLAlchemy
Home Page: https://auth-api-flask.herokuapp.com/api/
License: MIT License
CI/CD enabled Authentication API based on Flask-SQLAlchemy
Home Page: https://auth-api-flask.herokuapp.com/api/
License: MIT License
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
Create a workflow and document the way to provide hot-fixes to the deployment in the issue itself.
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.
Setting up generic service api platform for adding any new service provider for the oAuth integration in the service.
/oauth/<provider>
shall be the baseURL for this.
Implement token-based authentication of the web requests
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.
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.
unit tests of all service providers running good but for twitter it is failing. Thus, commented for now.
Deploy the API on heroku server and setup git hook for continuous deployment
All the requests to the flask server require proper logging in a separate file
Enable Password-based authentication of the requests
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.
Currently having 2 separate bash scripts for running app on dev and stage environment.
start.sh
--stage
and --dev
(-s
and -d
)--dev
as the default behaviourInitiating unit testing by setting up project structure and scripts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.