Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Serverless Calculator API #2

Open
4 tasks
tharun634 opened this issue Sep 30, 2021 · 0 comments
Open
4 tasks

Create a Serverless Calculator API #2

tharun634 opened this issue Sep 30, 2021 · 0 comments
Labels
Development Problem statements which deal with development Hacktoberfest intermediate

Comments

@tharun634
Copy link
Collaborator

Description

The goal is to create a Rest API calculator which is backed by the Serverless framework.
The calculator API should have 4 endpoints, all of them should be a GET endpoint that accepts two variables as query parameters

  • /add
  • /subtract
  • /divide
  • /multiply

Details

  • Technical Specifications:
    • Use python as the language for the handlers
    • assume the cloud provider as aws
    • 4 handler files, name them as endpoint_handler.py
    • Create an offline dev server using serverless-offline
  • Type of issue: Single
  • Time Limit: 2 days

Issue requirements / progress

  • Create the handlers.
  • Create serverless.yml.
  • Local testing
  • (optional) create a free AWS account and create a live deployment using serverless deploy

Resources

Directory Structure

Create a folder named serverless-calculator in the Development folder and place the appropriately named files inside this folder.

Note

  1. Please claim the issue first by commenting here before starting to work on it.
  2. Once you are done with the task and have created a Pull Request, please tag @ to request a review.
@tharun634 tharun634 added Development Problem statements which deal with development intermediate labels Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development Problem statements which deal with development Hacktoberfest intermediate
Projects
None yet
Development

No branches or pull requests

2 participants