https://github.com/awsimaya/translateapi
Creates a Serverless API with Amazon Translate functionalities using ASP.NET Web API framework and hosts on AWS Lambda
https://github.com/awsimaya/translateapi
aws csharp netcore translate
Last synced: 2 months ago
JSON representation
Creates a Serverless API with Amazon Translate functionalities using ASP.NET Web API framework and hosts on AWS Lambda
- Host: GitHub
- URL: https://github.com/awsimaya/translateapi
- Owner: awsimaya
- Created: 2018-07-12T17:52:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T17:58:29.000Z (almost 8 years ago)
- Last Synced: 2025-02-17T03:29:21.979Z (over 1 year ago)
- Topics: aws, csharp, netcore, translate
- Language: C#
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Purpose
The solution creates an ASP.NET WebAPI based AWS Serverless application (Lambda) that helps translate text from one language to another using Amazon Translate Service
## Setup Instructions (for Visual Studio on Windows)
* Clone the repository to your local machine
* Build and make sure there are no build errors
* Right click on the project name and select _Publish to AWS Lambda..._ from the context menu
* You should be able to invoke the Lambda through the API Gateway using Postman or similar tools. Following screenshot shows how to compose a sample request using Postman

## Here are some steps to follow to get started from the command line:
Once you have edited your template and code you can use the following command lines to deploy your application from the command line (these examples assume the project name is *TranslateAPI*):
Restore dependencies
```
cd "TranslateAPI"
dotnet restore
```
Deploy application
```
cd "TranslateAPI/src/TranslateAPI"
dotnet lambda deploy-serverless
```