This sinatra web application is a cocktail recipe tracker designed to keep track of a collection of cocktail recipes. A user can sign up by entering their desired username, email, and password. Once users sign up, they can create cocktail recipes and upload them into the application. A user can view the collection of cocktail recipes that has been created by all users. It is possible for a user to edit his or her recipe once they have created/uploaded it. A user can only, however, edit a cocktail recipe that he or she created. Finally, users also have the ability to delete a cocktail recipe created by them. The delete recipe option is available on the same page where a user can edit their recipe.
Fork and clone this repository into your local machine. Cd into the repository's directory and run bundle install to install the desired gem dependencies.
Once you are in the app's directory run shotgun to start up the server. Open the application by entering the address provided by the server (localhost:9393/) into your web browser.
- At the home page, click on the sign up to create a profile.
- Enter the required information to create a profile.
- Once profile is successfully created, users are redirected to their profile page. Click on the links on the navigation bar to browse through the application's pages.
- Once you are done browsing through the recipes or uploading your personal recipes, click on the Logout link to log out of the application.
Bug reports and pull requests are welcome on GitHub at https://github.com/chrisbaptiste83/sinatra-cocktail-app.