Mock database site using rails and postgreSQL to track products and there reviews. Each product can have many reviews while each review can only have one product.
Version 1, 10/16/2020
This project connects to a postgreSQL database. It stores information for product name, cost, and origi. It stores data for review authors, rating, and the review itself. You can see 3 most recent products added to the database and product with the most number of reviews on the landing page>
With this project:
\$ git clone https://github.com/BrycenGit/super_special_super_store.git
\$ cd super_special_super_store
\$ code .
\$ bundle install
\$ touch .env
\$ rake db:create
\$ rake db:migrate
\$ rake db:seed
\$ rspec
\$ rails s
Make sure you add .env file with text PG={YOUR POSTGRESS PASSWORD WITHOUT BRACES OR QUOTES}
i.e PG=password
Copyright (c) 2020 Brycen Bartolome
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.