Skip to content

ShamiTomita/rails-e-commerce

Repository files navigation

README

Specs:

  • Ruby 3.0.0
  • Rails 7.0.4!
  • Authentication with Devise Gem
  • PostgreSQL Database
  • Tailwind CSS
  • Hotwire-Turbo+Stimulus
  • Stripe Checkout!!!!

This is a mock-e-commerce site for users to create accounts, load up their carts, checkout their carts, and then browse through their orders.

The purpose of this project was to familiarize myself with Rails 7 and its primary frontend implementation, Hotwire. Hotwire, through Turbo and Stimulus, allows for the creation of the Single-Page-Application feel of modern frameworks like React by sending HTML instead of JSON over the "wire". Turbo eliminates the need to re-render the page while Stimulus provides a means of introducing just enough JavaScript to add interactivity to a Rails project. Additionally, this project was a much needed refresher on using Rails for a full-stack project.

The main actions of this project are barebones as I spent most of my energy trying to create the seamless shopping experience of modern platforms with Hotwire. There are many areas to expand upon including setting up a mailer for information regarding orders and receipts, and a search function to sort through the list of products. Additionally, the admin side of this project could be fully fleshed out in order to have a functional service on both sides of the website.

Shoutouts to: