one-hour-live-coding
README.md
Technical Interview
Before Starting
- You have 1 hour to complete the test
- We will take the last 5 minutes to review the result
- You can use any tools you like (Google, Stack Overflow, documentation, etc.)
- You can use additional libraries and reference existing code that you may have.
- It’s okay to be silent during the test or feel free to talk - whatever you’re comfortable with. However, describing what you’re doing is encouraged.
- Write your code as close to the production style, as possible, but mind the size of the project. IE. Redux usage is not enforced.
- You can use any editor of choice or http://codesandbox.io/. Just share the screen. We have to see all your activities.
The task
- Create a React application that will integrate with The Cocktail DB API.
- Create an input that as the user types will fetch drinks from the endpoint: https://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita
To do this, you need to pass the user input as the "s" query string
- Show the drinks in a list and add a button to save the drink in a separate state.
- List the drinks added to the separated state and add a button to remove them from there.
Demo
→→→→→→→→→→ 🔥 Demo 🔥 ←←←←←←←←←←
Описание
Technical task, which I coded live. There are many things to improve, but, it was just one hour under the pressure!
Языки
TypeScript
- JavaScript