Welcome to Cocktail Database, your go-to platform for cocktail enthusiasts. This full-stack application allows you to easily explore a wide array of drink recipes, ingredients, leave comments, and rate drinks. Crafted using JavaScript, MongoDB, React, SCSS, and Bootstrap, it also features a comprehensive admin panel for drink, comment, and user account management, all secured with Keycloak. Everything runs seamlessly on Dockerfile Compose for a hassle-free experience. Cheers to discovering new cocktails and sharing your mixology journey with us!
- Search for Drink Recipes: Users can easily search for drink recipes using keywords, making it convenient to find their favorite drinks or discover new ones.
- View Drink Details: Get detailed information about drinks, including ingredients and step-by-step recipe instructions.
- Leave Comments: Engage with the community by leaving comments on drink pages. Share your thoughts, tips, or variations of the recipes with fellow users.
- Rate Drinks: Express your appreciation for a delicious drink by rating it using our 5-star rating system.
- Containerized Deployment: This application runs on Docker containers, ensuring a seamless and consistent deployment environment.
- Secure Frontend: The frontend is equipped with security measures to safeguard user data and application integrity.
- Separate Administrator Panel: Our frontend includes a dedicated administrator panel, allowing administrators to manage the application efficiently.
- PKCE (Proof Key for Code Exchange): PKCE is implemented to enhance the security of authentication flows.
- Clone this repository to your local machine.
git clone https://github.com/Karol-2/Cocktail-Database.git
- Enter the main folder - Cocktail-Database
cd Cocktail-Database
- Run docker compose command.
docker compose up
- Keycloak configuration will be added to the volume automatically.
- The app is available at localhost:3000
There are two user accounts. You can also register your accounts.
-
User account (no special access)
- login: user
- password: user
-
Admin account(with admin role and access)
- login: adminuser
- password: adminuser
The Cocktail Database was created by Karol Krawczykiewicz.
This project is licensed under the MIT License.