GitXplorerGitXplorer
M

cart

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
0594c62bd281eb1cbe9298699888ef1afd7860af

Move discount calculators to separate directory

MMikeAndrianov committed 2 years ago
Verified
674be7cfc08b8d7e386d90c7d5a4c2ea262a93d2

Update Readme

MMikeAndrianov committed 2 years ago
Unverified
ad517c3cb374d58eeca1892e4266cd6b60fba8e8

add credentials for admin

MMikeAndrianov committed 2 years ago
Unverified
29f33258d0f975272ebf56f65f197a9a82a54b1d

amend seeds

MMikeAndrianov committed 2 years ago
Unverified
06223fa0a870d6545aa9f0a2b433c350a54502d8

Add price calculator service

MMikeAndrianov committed 2 years ago
Unverified
25732ac200dd49e8ff7f0269d5e3d0aed9a57dfc

Create offers

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