Here is the main URI: https://koiihe2l31.execute-api.us-east-2.amazonaws.com/dev
Endpoints:
- post (POST)
- post/{id} (DELETE, GET, PUT)
- posts (GET)
Pass in Key as Header: X-Api-Key
provided upon request.
-
Create a simple "Taco Recipe" REST API.
-
Use the latest NodeJS Framework and Typescript
-
Our preference is an AWS serverless API project built using AWS SAM or Serverless framework. If you are unable to use one of these, a classic Express API will suffice. You should be able to create a free AWS account, and run the serverless features required for an API on their free tier for this exercise.
-
When you're finished, please push your code to GitHub and send a link to matt.marooney@transport4.com
-
Consumers of the API should be able access full REST endpoints for the following actions:
- Creating Taco recipes
- Updating Taco recipes
- Deleting Taco recipes
- Retrieving a list of Taco recipes
- Retrieve list of Taco sauces from Spoonacular.com Ingredient API
- Post Taco Recipe to Spoonacular.com API and return Recipe Card image
-
Taco recipes consist of the following data:
- Recipe Name
- Recipe Description
- Recipe Instructions
- Ingredients:
- Taco Shell
- Taco Protein(s)
- Taco Topping(s)
- Taco Sauce(s)
-
The API should use some sort of mock DB and/or caching to persist the Taco recipe data
-
The API should contain at least one "positive" unit test and one "negative" unit test
-
Use best-practice REST specifications, async patterns, clean coding practices, and your creativity and ingenuity!
- API Key: 3c96dbdcf8a645fd830ad715ffc77da2
- API Documentation
- Use the Create Recipe Card endpoint to generate a recipe card image
- Use the Ingredient endpoints to retrieve the list of possible Taco sauces from Spoonacular