Skip to content

An e-commerce shop built for Juicii Enterprise. The shop allows customers to add products to their shopping cart, which in turn displays the number of products in the cart, the price for each of those products, and the total price.

Notifications You must be signed in to change notification settings

RoyNyaga/juicii_store

Repository files navigation

JUICII STORE

About

An e-commerce shop built for Juicii Enterprise. The shop allows customers to add products to their shopping cart, which in turn displays the number of products in the cart, the price for each of those products, and the total price. Registered users can check out and pay with a confirmation code that they will need to input from their mobile phones.

Live Demo

Click here to see a live version.

Technologies Used

  • Ruby
  • Rails
  • Rspec
  • Heroku
  • HTML5
  • CSS3
  • Bootstrap
  • Monetbil API

Installation And Usage

  • Clone the repository using the command:
git clone git@github.com:RoyNyaga/juicii_store.git
  • Cd into the project directory and install gems using the command:
bundle install
  • Start the development server by running the command:
rails s

Testing

  • To test models:
rspec spec/models
  • To test features:
rspec spec/features

Deployment On Heroku

  • Create a Heroku account.
  • Install Heroku CLI on your computer.
  • Login to Heroku from your terminal using the command:
    heroku login
  • Enter your credentials as the above command will prompt you.
  • Cd to the root folder of your project.
  • Create a Heroku app using the command:
    heroku create <name-of-you-app>
  • Commit your work and push to github.
  git add .
  git commit -m"commit-message"
  git push origin master
  • Deploy your work to Heroku using the command:
    git push Heroku master
  • To see your hosted application on the browser, type the command:
    heroku open

Future Features

  • Implementing different payment methods such as Visa card and Paypal.
  • Allowing clients to download a copy of their receipts.

Author

👤 Nyaga Andre Roy

About

An e-commerce shop built for Juicii Enterprise. The shop allows customers to add products to their shopping cart, which in turn displays the number of products in the cart, the price for each of those products, and the total price.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published