Giter Club home page Giter Club logo

farmarrails's Introduction

How to explore this code base:

  • This is a two-person project built in Ruby on Rails. To browse my team's code contribution, select branch b/dis+kt/master on the top-left drop-down menu.
  • Our team's final deployment: https://limitless-meadow-23284.herokuapp.com/

Project Name: FarMar Rails

Build a database backend 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.

Best Practices

  • Use git relentlessly
  • Pair program on difficult problems and 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 a data diagram based on the original data specification

Once the above is complete, this project:

  • requires a shared repo with your partner as a collaborator
  • requires you to create a Rails application
    • conform to Rails conventions on naming and inflection
    • by using rails new . you will create a new rails app inside of the fork folder instead of creating a new folder for your rails app

Your team shall submit a pull request with a link to your Trello board once you are done with the baseline which shall be reviewed before moving onto implementing the requirements

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, viewing 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

farmarrails's People

Contributors

kariabancroft avatar kellypt avatar

Watchers

James Cloos avatar Danielle Schrimmer 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.