Amplify-js: Python Backend?

Created on 3 Apr 2018  路  3Comments  路  Source: aws-amplify/amplify-js

The docs only show examples with a javascript backend, seen here: https://aws.github.io/aws-amplify/media/install_n_config

Is it possible to use this library with a python backend? If I only need authentication, do I have to use a backend?

question

Most helpful comment

Hi, in case you need a simple backend configuration I wrote a medium article about a Flask integration (the same concept can be applied to all the other frameworks): https://medium.com/@eu.galioto/the-simplest-server-configuration-for-your-aws-amplify-cognito-app-a074c01c743d

I hope you find it useful

All 3 comments

You can/should use Auth entirely client-side, so the backend itself shouldnt really matter

@guanzo you can use whatever backend i.e. lambda runtime etc. you like. Within Amplify we have an API category which will allow you to call API gateway, or even lambda directly via invoke API. The lambda can be running either Java, Python, JavaScript, GO, or any other runtime lambda is supporting.

Hi, in case you need a simple backend configuration I wrote a medium article about a Flask integration (the same concept can be applied to all the other frameworks): https://medium.com/@eu.galioto/the-simplest-server-configuration-for-your-aws-amplify-cognito-app-a074c01c743d

I hope you find it useful

Was this page helpful?
0 / 5 - 0 ratings