An e-commerce store that sells a variety of products using server side framework Ruby on Rails.
Home Page | Category Page |
---|---|
- Separates 'user' role for 'admins'.
- Admin manages the products inventory, view orders, categories/subcategories and user's information on customers.
- Categories can be dynamically created by the admin (i.e. Science Fiction), and all products should be assigned to a category.
- Separate 'user' role for 'customers'.
- Customers can purchase items only if they are registered users and are able to track status of their orders.
- Follows a standard practice for a shopping cart, and have appropriate search (using Solr) and filters on product pages (i.e. by category, by price).
- Able to create and manage the status of your orders.
- Uses
devise
power gem to manage user authentication. - Follows a very easy to navigate interface. (Bootstrap for front-end).
- Project Url: https://ecommerce-store-kalebr.herokuapp.com/home
- Search Engine functionality not working on productions because you're entitle to pay ($15/month) to have an instance of SORL running in production.
- Admin credentials
- username: [email protected]
- password: admin123
- Create regular user on the application.
- Clone the repository from Github.
- Open a terminal, go to your proyect's directory and run
bundle install
--> Install all your dependencies gems. - Must run this command
rails db:create
,rails db:migrate
to run db migrations. - Later you must run:
rails s
for the application to work on "localhost:3000".- We must run the sunspot Solr server locally to be able to have search functionality.
RAILS_ENV=development bundle exec rake sunspot:solr:start
.
- Make sure all testing specs are green.
- Incorportate Twillio Authy for 2-factor authentication during a purchase.
- Refactor to make code DRY.