Check out the app on Heroku Explore the backend repo
Drink This provides cocktail recommendations using a memory-based approach to collaborative filtering. In the front end of this app, we use React in concert with TailwindCSS to provide a clean feel. Movement between pages is smooth and seamless, as opposed to rendering views that may take time to load. Another look and feel to this is the frontend interaction with the backend. We displayed simple thumbnails of the cocktails consumed from the CocktailDB API from the backend.
Check out our Wiki for more info.
- Fork and Clone the repo
- Install packages:
npm install
- Starting on Local:
npm run start
- Building the project:
npm run build
- React 17.0.2
- Node 16.3.0
- NPM 6.14.12
Consuming cocktail recommendation from backend on /api/v1/cocktail/recommendation
Consuming cocktail details from backend on /api/v1/cocktail/#{cocktail.id}
- Includes: Name, image, recipe (ingredients and measurements), directions, user rating (if applicable)
- Requires a
cocktail_id
parameter
Posting a new rating on the backend database /api/v1/cocktails/rating
- Requires
cocktail_id
andstars
parameters - Stars parameter must be an integer from 1-5
Consuming random cocktails for a new user from the backend on /api/v1/dashboard
Consuming a list of cocktails by search from backend on /api/v1/cocktails/search
- Requires a
name
parameter with a string or string fragment to search
Consuming a list of businesses using yelp search from the backend on /api/v1/search/yelp
Tests with Jest
- Create PR
- Add the PR to the Drink This Frontend project
- Link any issues to the PR and use the PR template provided
- Add Authors as Reviewers