Git Product home page Git Product logo

concoct's Introduction

CONCOCT

Feb. 5th, 2016 - Ruby - Group Project for Epicodus

Description

CONCOCT is a web app for creating custom cocktail recipes, demonstrating object-oriented programming with Ruby and databases with PostgreSQL/ActiveRecord.

Features

User-side:
  • Create custom cocktail recipes by selecting various complimentary liquors and ingredients, setting the drink strength, the sweetness/tartness level, and naming it.
  • A custom recipe for the cocktail with the correct proportions of each liquor and ingredient is generated based on user specifications.
  • Rate cocktails.
  • Browse through cocktails by theme, ingredient, or rating
  • Styling changes based on the theme values of ingredients in a cocktail.
Admin-side ( /admin - in the URL ):
  • View list of ingredients, cocktails, and drink categories that have been saved to the database.
  • Add a new ingredient, and choose what other ingredients it pairs well with.
  • Assign categories that ingredient falls into (primary liquor, secondary liquor, mixer, etc.).
  • Assign point values towards themes that the ingredient represents (winter, classy, brunch, tropical etc.).
  • Edited and delete ingredients, cocktails.

Technologies Used

Ruby, HTML, CSS, JavaScript/jQuery, PostgreSQL, ActiveRecord, rspec, capybara, sinatra.

Setup

Initial Steps

Make sure PostgreSQL is installed, and then clone this repository.
Run postgres and psql.

Create Database

Navigate in terminal to project directory.
Type bundle install to ensure all Ruby gems and dependencies are installed.

rake db:create  
rake db:migrate  
rake db:test:prepare

Import Sample Data

In psql:

concoct_development < concoct.sql
concoct_test < concoct.sql  

Start App

Navigate in terminal to project directory.

rake db:migrate  
rake db:test:prepare
ruby app.rb

License

Copyright (c) 2016 Krystan Menne
This software is licensed under the MIT license.

concoct's People

Contributors

jeffsdev avatar lryndavis avatar mahonmr avatar testkrystan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

mahonmr jeffsdev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.