Skip to content

lptaylor/LittleShop

Repository files navigation

Little Shop

Image description

Welcome to our Little Shop of Dog Costumes! We hope you enjoy our app!

Little Shop is a fictional e-commerce application made by a group of four backend students at Turing School of Software & Design who have a whopping 10 weeks of experience in software development.

In Little Shop, you can access the site as a visitor or registered user who shops for items, a merchant that sells items on the site, or an admin who manages the site.

As a shopper on the site, you will see a list of only the best and the funniest dog costumes that you can choose from to purchase. You will place your items in your shopping cart that you have chosen, and if logged in, you will be able to checkout and place your order.

*** If you place an order, don't expect it to arrive at your house. We are just students here ya know!!! ***

Active Little Shop - app in Production:

https://afternoon-chamber-43655.herokuapp.com/

Little Shop - Github Repository:

https://github.com/lptaylor/LittleShop

Little Shop - Project Management Waffle Board:

We used waffle.io to manage the development of this app. Checkout our waffle board here.

Little Shop - User Stories:

These are the user stories we used to create the app from: https://github.com/turingschool-projects/little_shop_v2/blob/master/stories.md

Little Shop - Database Schema:

Image description

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites:

  • Install Ruby (Version 2.4.5)
  • Install Rails (Version 5.1)
  • Heroku Account - (Create free account here if you don't have on already.)

Installing:

To run this application locally, clone this repo and follow the steps below:

  1. Install gems:
$ bundle
  1. Create, migrate, & seed database:
$ rake db:{create,migrate,seed}
  1. Start your rails server:
$ rails s
  1. Open browser and navigate to:
localhost:3000

Running the RSpec Test Suite

Little Shop has a full RSpec suite of feature and model tests for every piece of functionality in the app.

Running the Full Test Suite:

From the root of the LittleShop directory, type the below command to run the full test suite:

$ rspec

Running only Feature Tests:

Type this command from the root of the LittleShop directory.

$ rspec ./spec/features

Running only Model Tests:

Type this command from the root of the LittleShop directory.

$ rspec ./spec/models

Running a Single Test File:

Type this command from the root of the LittleShop directory.

Just change the line number in the command to run only a single test in that file.

$ rspec ./spec/features/registered_user_can_checkout_spec.rb:40

Deployment

To deploy this app through Heroku as we have, you can follow these instructions on Heroku's website.

Built With

Contributing

When contributing to this repository, please submit a pull request here and one of the 4 authors will review the request and merge it into master if it looks good.

*** Please note, that we only believe in Test Driven Development, so if your code you push does not have the corresponding tests to go with it, it will be rejected!! ***

Authors

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •