A serverless application project in IS5003 Platform Design & Economy - by Team 4some
- Frontend: Vuetify.js - A simple and clean framework for Vue.js that is based on Google's Material Design language
- Backend: Python 3.6 binaries and libraries running on AWS Lambda
- Others: Dialogflow - The chatbot (known as Professor Botler) is developed using Dialogflow, a conversational NLP platform
- AWS Account - to host and run the serverless application on Lambda
- Because the entire application is based on a Single HTML file deployment, that is everything you need!
Creating a Lambda Function
- Download
lambda_function.py. - Navigate to AWS Lambda.
- Create a new serverless function. Enter a function name and choose Python 3.7 runtime.
- Copy the Python code from
lambda_function.pyand paste it into the Lambda editor. - You may also give the handler a name such as
lambda_function.lambda_handler. - Under Basic settings, change the timeout setting to 30 seconds.
- Click Save.
Creating an API Endpoint
- Click on Add trigger and select API Gateway.
- Look and select for your Lambda function name.
- Under Security, choose the Open option.
- An API endpoint in a form of an AWS URL will be generated. Navigate to this URL to view the changes.