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.
Click here to see a live version.
- Ruby
- Rails
- Rspec
- Heroku
- HTML5
- CSS3
- Bootstrap
- Monetbil API
- 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
- visit http://localhost:3000 to view the application on the browser.
- To test models:
rspec spec/models
- To test features:
rspec spec/features
- 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
- Implementing different payment methods such as Visa card and Paypal.
- Allowing clients to download a copy of their receipts.
- Gihub: RoyNyaga
- Email: nyagaandreroy@gmail.com
- Linkedin: Roy Nyaga