Name Aki Kurvinen
Topic Web-application to find cocktail recipes.
- Search cocktails by name and display list of cocktails containing keyword
- Display cocktail image, ingredients and amounts by cocktail id
- Display glass type and instructions
- Use React Router to get cocktail id from URL bar
- Make responsive UI
API TheCocktailDB https://www.thecocktaildb.com/api.php
Heroku link https://cocktail-app-pro.herokuapp.com/
- Search cocktails by name (keyword)
- If only one match search criteria, display recipe immediately
- Else display list of drinks containing keyword as links
- Display cocktail image, recipe, name, glass type, ‘is alcoholic’ and instructions
- Navigation back to home or list view
- Responsive UI
- Prevent special characters other than dash in search box
- Display units in centiliters (cl)
- Include custom drinks JSON
- / (Root, display main page)
- /{keyword} (Find drinks from API based on keyword and create list)
- /{keyword}/{id} (Display details of specific cocktail based on id. Add link back to home page)
- /{keyword}/{id}s (Same as above)
- /{keyword}/{id}m (Same as above + link back to list view)
- DrinkList (Get and display list of keyword matching cocktails from API)
- Recipe (Get and display single cocktail details by id from API)
- Home (Header for home page)
- Header (Header logo)
- Footer (Footer credits)
- Recent (Not implemented list of user last searched drinks)
- Data (Not implemented storage for fetched json data in list view that could be utilized in Recipe view)
- Recipe does not utilize JSON already fetched in List view
- Custom drinks are not displayed among official drinks
- Only first keyword matching custom drink is displayed