Skip to content

Recipe Costs is a single-page JavaScript web application for restaurant owners to automatically price recipes based on ingredient usage. This repo houses the Rails backend API.

Notifications You must be signed in to change notification settings

aparkening/recipe_costs_api

Repository files navigation

Recipe Costs API

Professional kitchens need to know their recipe costs to profitably price their food. Recipe Costs makes it easy to determine both the full cost and cost per serving of each recipe.

This repository houses the Rails API, supplying data to the JavaScript frontend interface.

Installation

  1. Clone this repo.
  2. Install dependences:
    $ bundle install
  1. Install PostgreSQL. Using Homebrew on macOS this looks like:
    $ brew install postgresql
  1. Start and log in to Postgresql database:
    $ brew services start postgresql
    $ psql postgres
  1. Create database structure:
    $ rails db:create
    $ rails db:migrate
  1. Run web server:
    $ rails s
  1. Navigate to localhost:3000 in your browser.

Usage

  • Add your own data via command line by using rails c.

  • Use test data by running the seed file:

    $ rails db:seed

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aparkening/recipe_costs_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Tea Tastes project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Recipe Costs is a single-page JavaScript web application for restaurant owners to automatically price recipes based on ingredient usage. This repo houses the Rails backend API.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published