Git Product home page Git Product logo

c3projects--farmarrails's Introduction

FarMar Rails

Build a database backed application to view, create, and manage farmers markets as well as their vendors, products, and sales. In this implementation we'll be seeding with static data, and also building a tool to allow markets and/or vendors to sign up and add their own data.

As you are using ActiveRecord to access the database compare the methods that are given to those you had to create in the CSV implementation of FarMar.

This project is meant to be exploratory. Take time to try to dive into each piece of Rails (routes, controllers, models, views). This project is built so that you and your partner can create the waves yourself based on the dependencies of the requirements given. This project is due Friday 6/26.

Best Practices

  • Use git relentlessly
  • Use correct indentation
  • Pair program on difficult problems or to share learning experiences.

Baseline

Before you start writing any code:

  • Review the requirements with your partner
  • Create a Trello board
    • Organize your tasks/stories
    • Discuss who will do which tasks and when you will target completion
      • What things should be done together as pairs vs individually?
    • Organize your tasks/stories into iterations (a.k.a waves)
  • Create an ERD diagram based on the original data specification

Once the above is complete, this project:

  • requires a shared repo with your partner as a collaborator
  • will need to be isolated into a gemset called 'FarMarRails'
    • create the necessary files for RVM to recognize a gemset
  • requires you to create a Rails 4.2.2 application
    • conform to Rails conventions on naming and inflection

Requirements

However far you and your partner get, the application should have, at a minimum, the following features:

  • Seeded data in your database from the original CSV files
  • Multiple Active Record models
  • RESTful routing
  • Deployed application to Heroku
  • A "look and feel" that will make you and your partner happy!

User Stories

Overall

  • As a user, when I visit "/", I can choose whether I want to act as a Market or a Vendor
  • As a user, I can view all Markets
  • As a user, I can view a specific Market, I should see it's attributes as well as a list of it's vendors

Market

  • As a market, I can create or edit a Market
  • As a market, I can create, edit, or delete any Vendor

Vendor

  • As a vendor, I can create, edit, or delete my Products
  • As a vendor, I can create a Sale for one of my Products
  • As a vendor, I can see a list of my Sales
  • As a vendor, I can see a total of all of my Sales
  • As a vendor, I can see a list of my Sales for the current month
  • As a vendor, I can see a total of my Sales for the current month

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.