Contributers: Ben Higginbotham,
Carlo Berardelli,
Ian
Vitaga,
Anna Cheng
Welcome to Cocktail Hour. Your go to destination for drink ideas!
Roles: Ben - Release Manager; Carlo - Product Manager; Ian - Lead
front-end dev; Anna - Lead back-end dev
We wanted to make an app that would help people with their alcoholic & non-alcoholic adventures.
This application is a full CRUD app that connects the React Client on the frontend to the Express API on the backend. There are two models on the backend: recipe.js and user.js. The recipe schema includes the drink name, ingredients and instructions. The user schema includes the username and password. We used JSON Web Token (JWT) that allows users to create a username and password to sign up and login. When user is logged in, they are able to view the drink recipes that they've previously created, and edit or delete them as well.
A fun feature on this app is our random drink button. We used async await to on the back-end to fetch data from a 3rd party api called The Cocktail DB. When the button is clicked, a random drink is generated on the page which includes the image of the drink, the name, ingredients and instructions.