Sure :) But a heads-up first: please make sure you're willing to spend a bit of time learning AWS Lambda + API gateway and check that it's relevant to your needs. I don't want to accidentally send you down the wrong path if there's a better way to do it.
I'm passionate about learning about the new technologies whether that's the frontend or backend. I enjoy creating user friendly responsive applications. I love working in fast-paced environments and l
sure Jordan, First I will also look into the alternatives. But I highly appreciate the help you provided :).Wish you good luck in your future endeavors.
Sure :) But a heads-up first: please make sure you're willing to spend a bit of time learning AWS Lambda + API gateway and check that it's relevant to your needs. I don't want to accidentally send you down the wrong path if there's a better way to do it.
Anyway, here's the repo: github.com/jkhaui/serverless-pytho...
npm i serverless -g
to install the serverless framework globally.serverless offline
to edit your Python script locally. Test the API at localhost:4000serverless deploy
to host it on AWS Lambda. An endpoint URL should also be created automatically through API gateway.Any questions/problems, let me know. Also, you'll be prompted for your AWS credentials at some point during these steps
Oh and btw, you can delete all the Spacy code in handler.py and also delete the directory
en_core_web_sm-2.1.0
. That's just for demo purposes.Put your Python script in handler.py. This is the code that will let your script be accessed as an API:
sure Jordan, First I will also look into the alternatives. But I highly appreciate the help you provided :).Wish you good luck in your future endeavors.
No problem :) Thank you, and best of luck with your app too.