Code Monkey home page Code Monkey logo

geek_shop's Introduction

Circle CI

Geek shop

The Geek Shop is playground online store for me to play and learn with ruby/rails.

Features and Technology

  • Clearance gem for authentication
  • Stripe for the payment system
  • Importing products via CSV that runs on a background job

Getting Started

After you have cloned this repo, run this setup script to set up your machine with the necessary dependencies to run and test this app:

% ./bin/setup

It assumes you have a machine equipped with Ruby, Postgres, etc. If not, set up your machine with this script.

After setting up, you can run the application using Heroku Local:

% heroku local

geek_shop's People

Contributors

paulthegeek avatar

Watchers

James Cloos avatar

geek_shop's Issues

Shop Landing Page

When a customer comes to the geek shop they should come to the shop landing page which features products for them to purchase.

Acceptance Criteria

  • Landing page should list products with name, price, and short description displayed for each
  • Each product should have a purchase button, but it should do nothing
  • Customer should be able to access this page even if they are unauthenticated

Add Image to products

As the geek shop owner I would like the ability to have images associated to products

Acceptance Criteria

  • Ability to add image when create or updating product from shop interface
  • Ability to import images for products via CSV

Seed Shop with products

As a developer/shop owner I want the ability to seed my store with an initial batch of products.

Acceptance Criteria

  • Products should be imported via csv file

Integrate Stripe

As the geek shop owner/developer I would like to use Stripe as the means to purchase items on the geek shop.

Acceptance Criteria

  • Integrate Stripe using test account
  • Custom payment form

Create a dashboard for admin users

As an admin I want the ability to navigate to various parts of the store from one place

Acceptance Criteria

  • When an admin signs-in, they should be routed to the dashboard page.
  • Only admins should be able to access the dashboard page
  • Dashboard should contain a link to the products index page

Add product display field to product model

As an admin I like the ability to create/import a product, but not have that product display on the store.

Acceptance Criteria

  • Add field to product model to publish/display product on the store
  • In the product create form the publish field should be defaulted to false

Admin User Authentication

The geek shop needs the ability to have an Admin user that can create, update products.

Acceptance Criteria

  • Admin has the ability to sign-in/out of the geek shop
  • Admin should have the ability to create, update
  • Customer has the ability to sign-in and should be routed to the home page
  • Non-Admin users should not be able to access the any of the product pages

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.