Git Product home page Git Product logo

bub's People

Contributors

curtisblackwell avatar

bub's Issues

Create an ingredient

As an admin, I expect I can create ingredients so admins can use them to create recipes.

Creating an ingredient

  • I expect ingredients to have fields for:
    • Name (text)
    • Diets (array)
  • I expect the Name field is required.

Diet-based recipe alternatives

As an admin, I expect I can create diet-based recipe alternatives so I can be more inclusive of users.

Marking recipes as alternatives

  • I expect I can choose existing recipes to mark as an alternative version of the current recipe.
  • I expect relations to work in both directions.

NOTE Alternative recipes shouldn't need to have pivot fields for diets since diets can intelligently be determined based on ingredients, just as planned for all recipes.

Log in

As an admin, I expect I can log in to the admin panel so I can manage content.

Logging in

  • I expect to see a login form at /cp (CP: Control Panel).
  • I expect I can log in using my credentials (not displayed here for security).
  • I expect to see the CP after logging in.

Create a recipe

As an admin, I expect I can create a drink recipe so users can find it on the website.

Creating a recipe

  • I expect recipes to have fields for:
    • Name (text)
    • Image (file upload)
    • Ingredients (array: amount, unit, ingredient)
    • Instructions (markdown)
  • I expect the name field is required.

Create a diet

As an admin, I expect I can create a diet so I can mark ingredients as meeting their requirements.

Creating a diet

  • I expect the create diet form to have a required Name field (text).

We may later add a story for adding a content field that would allow for diet-specific pages explaining any unclear concepts like halal alcoholic beverages.

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.