Skip to content

AyaHusseinAly/eCommerce_Rails

Repository files navigation

eCommerce Ruby on Rails Project Preview

Visit our website through the following link:

https://guarded-oasis-53909.herokuapp.com/

Database Structure (ERD)

Steps to run project in development mode

First: install npm in your machine

Second:install ruby on your machine

Third:install rails on your machine

Fourth: install sqlite3 or postgres in your machine

Then run these commands:

>> bundle install
>> rails db:create
>> rails db:migrate
>> rails db:seed
>> rails s

To login as a buyer or seller visit url: http://localhost:3000
To login as an admin or seller visit url: http://localhost:3000/admin

Username and password for Admin:

Email: [email protected] Password: password

Username and password for seller

Email: [email protected] Password: password

to test user model : rails t test/models/user_test.rb

Home Page

Product Page

only buyer who purchased the product can review it

buyer can review only once

Cart Items

in case of no cart items

Order status notification

Notifying buyer when his order confirmed

Notifying buyer when his order delivered

My Orders

in case of no orders yet

Wishing List Items

in case of no wishing list items items

profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages