Code Monkey home page Code Monkey logo

littleshop's Introduction

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

littleshop's People

Contributors

abenetka avatar justinmauldin7 avatar lptaylor avatar jaaronbr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.