Adding challenge-7.
This commit is contained in:
Родитель
21d041ea2b
Коммит
c8cbf7f885
|
@ -0,0 +1,42 @@
|
|||
# Challenge 7: API Endpoint - Picture Challenge
|
||||
|
||||
![A Virtual Bonfire](https://res.cloudinary.com/jen-looper/image/upload/v1575132446/images/challenge-7_kzcrtm.jpg)
|
||||
|
||||
December 7 marks the first day of the official Christmas season in Guatemala. Everybody is scrambling to get ready for the big _la quema del diablo_ (burning of the devil) tonight — at 6pm sharp, everyone will start a bonfire to burn rubbish and items they don't need to cleanse their homes of evil.
|
||||
|
||||
Here in Guatemala City, our friend Miguel is concerned about the environmental impact! The past few years, people have been burning a lot of rubber and plastic that makes the air dirty. Some places are switching to burning paper piñatas of the devil, but Miguel still wants to let people metaphorically cleanse their houses of specific items they don't want.
|
||||
|
||||
Let's help Miguel by building a web API that lets his neighbors search for images of things they want to get rid of. Build an application (e.g. a cloud function with a single endpoint) that takes text as an input and returns an image found on unsplash or another image platform.
|
||||
|
||||
## Resources/Tools Used 🚀
|
||||
Here are the tools listed that we used for an example solution.
|
||||
|
||||
- **[Azure Functions with Java](https://docs.microsoft.com/azure/azure-functions/functions-create-first-java-maven/?WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
- **[Java JSON parser org.json](https://search.maven.org/classic/#search%7Cgav%7C1%7Cg%3A%22org.json%22%20AND%20a%3A%22json%22)**
|
||||
- **[UNSPLASH Picture API](https://unsplash.com/)**
|
||||
- **[Postman](https://www.getpostman.com/downloads/)**
|
||||
|
||||
|
||||
## Tips 🔥
|
||||
|
||||
Make sure to keep your keys private. Profit e.g. from environment variables to do so;
|
||||
|
||||
```bash
|
||||
> export UNSPLASH_ACCESS_KEY="your_access_key"
|
||||
> export UNSPLASH_SECRET_KEY="your_secret_key"
|
||||
```
|
||||
|
||||
## Other Resources ⭐️
|
||||
|
||||
Other helpful Resources can be found here:
|
||||
|
||||
- ✅ **[Azure Functions documentation](https://docs.microsoft.com/azure/azure-functions?WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
- ✅ **[Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
- ✅ **[Create your first function using Visual Studio Code](https://docs.microsoft.com/azure/azure-functions/functions-create-first-function-vs-code?WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
- ✅ **[Azure Functions Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions&WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
- ✅ **[Free E-Book - Azure Serverless Computing Cookbook, Second Edition](https://azure.microsoft.com/resources/azure-serverless-computing-cookbook/?WT.mc_id=25daysofserverless-github-sakriema)**
|
||||
|
||||
|
||||
## I have doubts ... What do I do?! ❓
|
||||
|
||||
If you have any doubts about the challenges, feel free to open an **[ISSUE HERE](https://github.com/microsoft/25-days-of-serverless/issues)**. As soon as possible we will be answering any questions/doubts that you may have!
|
Загрузка…
Ссылка в новой задаче