Giter Site home page Giter Site logo

snackbarapp's Introduction

Snack Bar App CircleCI

A simple project with a real business case to practice Django knowledge

Introduction

The idea of this project is to study some technologies like:

  • Django
  • CLI
  • Tests
  • Django template

Business

The system should allow the user (Owner) to register new products and his ingredients. Also, the user (Customer) can construct his own Snack or Hamburger, and the system should provide the price of the product based in some rules.

As a start, you can use the below list of ingredients and theirs respective prices:

Ingredient Price
Bread R$2.50
Hamburger of Meat R$5.00
Lettuce(Alface) R$0.80
Bacon R$3.00
Egg R$1.20
Tomato R$1.20
Cheese R$2.50

To Calculate a Product´s price, you only needed to sum all the ingredients prices. But, there are some special conditions that can change the final price. It´s when the Product belongs to a Promotion. Take a look in the special rules below:

Promotion Price Rules Discount/Charge
Light If the Product have Lettuce but not Bacon 10% of Discount
A lot o Meat For each 3 portion of meat The customer only pays 2 portions of meat
A lot of Cheese For each 3 portion of cheese The customer only pays 2 portions of cheese

To Do

[ ] ...

Screen Shots

Register the Ingredients Register the ingredients

Home Page Home page

Request your Snack! Request snack

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.