Ecomm/EMart Project README
Welcome to my Ecomm project! This project is built using Ruby on Rails 7 along with several modern technologies to provide a seamless and efficient Ecomm experience. Below you'll find information on how to set up and run the project locally, as well as an overview of the technologies used.
- Ruby on Rails 7 - A web application framework written in Ruby.
- Hotwire - A set of tools for building modern web applications without using much JavaScript.
- Tailwind CSS - A utility-first CSS framework for building custom designs.
- Stripe - A payment processing platform for online businesses.
- PostgreSQL - A powerful, open-source object-relational database system.
- pg - PostgreSQL adapter for Ruby.
- puma - A simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications.
- importmap-rails - A library for managing JavaScript dependencies using ESM import maps.
- turbo-rails - Hotwire's SPA-like page accelerator for Rails applications.
- stimulus-rails - Hotwire's modest JavaScript framework for Rails applications.
- tailwindcss-rails - Integrates Tailwind CSS with Rails applications.
- devise - Flexible authentication solution for Rails applications.
- font-awesome-sass - Font Awesome 5.0.13 Sass gem for Rails projects.
- stripe - Ruby library for the Stripe API.
- pagy - A fast and light pagination gem for Ruby web frameworks.
-
Clone the repository:
git clone https://github.com/ericz02/ericmart-rails
-
Install dependencies:
bundle install
-
Set up the database:
rails db:setup
-
Start the Rails server:
rails server
-
Open your browser and navigate to
http://localhost:3000
to view the application as a customer.. Open your browser and navigate tohttp://localhost:3000/admin
to view the application as a seller.
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.