GitXplorerGitXplorer
M

cart

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
01138b2a9a47e185e88bbc910cd9a6f678038a34

Implement dynamic Cart changes using Turbo

MMikeAndrianov committed 2 years ago
Unverified
2f3561622e826db154bafcd1c353d8dc6bc94e1e

Add ShoppingCart and CartItem models

MMikeAndrianov committed 2 years ago
Unverified
62447f35f679a9d99a47c1cd795e41c130294bee

Add Product entity and scaffold

MMikeAndrianov committed 2 years ago
Unverified
0cdf7293c21ad8d4a57032063436a6711d96f59f

Add factory-bot gem

MMikeAndrianov committed 2 years ago
Unverified
4fade78e6c1e3ae172799a2114cf9048be8e028a

initial commit

MMikeAndrianov committed 2 years ago

README

The README file for this repository.

Cart

This is application that immitates Cart behaviour during the online shopping.

Requirements

  • Ruby 3.1.2
  • Postgresql (brew install postgresql)

Local Installation

  1. Clone this repo and install Ruby gems
gem install bundler
bundle install
  1. Start services (they should be started on startup)
brew services start postgresql
  1. Run rake task for database creation and seeding
rails db:setup
  1. Launch the server
rails s

Tests

To run the test suite

rspec

Additional information

The are several routes available:

UI:

Products page

Screen Shot 2023-02-12 at 20 26 36

Cart page

Screen Shot 2023-02-12 at 20 28 51

Administration

Screen Shot 2023-02-12 at 20 29 16