Giter Site home page Giter Site logo

gta-mech-calc's People

Contributors

kirbydd avatar ryandbarnett avatar

Watchers

 avatar  avatar

gta-mech-calc's Issues

Clicking Service Increments Total Cost

When user clicks on a services button, it should increment the total price. (If you would like to add a separate increment and decrement button that's fine)

Clicking Service Decrements Total Cost

When user clicks on a services button, it should decrement the total price. (If you would like to add a separate increment and decrement button that's fine)

Testing: Manual Input

Create Feature tests that increments and decrement the total cost when utilizing the manual input.

Testing: Services Table

Test for the following

  • Test that a service can be created
  • Test that once created, the service has a name and a cost.

Total Cost Helper Method

There should be a helper method in the Application Controller that returns the current total cost. If you want to make a PORO instead that is also fine.

Create Basic home page

Route should be a get to home#index

Main page should have H1 that says CityLifeRP Mech Calculator

Add gems to Gemfile

  • bcrypt
  • factory_bot_rails
  • rspec-rails
  • capybara
  • launchy
  • pry
  • simplecov
  • shoulda-matchers

Manual Input

On the homepage, there should be an option for me to manually input a price. I should be able to choose between incrementing or decrementing the amount

It should have a place to Input a name as well. (DO NOT save these as services as something like Spoiler can have multiple prices depending on which one they pick)

Styling

Add Styling to the calculator

Add Services to Seed File

The following services need to be added to the database through the seed file

Service Name: Cost
Engine: 11,000
Max Brakes: 3,100
Transmission: 12,500
Suspension: 2,700
Armor: 15,000
Turbo: 14,000
Rims: 1,500
Tint: 1,750
Xenons: 2,125
Rim Color: 1,200
Blue Package: 58,300
Neon Color: 1,500
Neon Kit: 5,500

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.