Code Monkey home page Code Monkey logo

family_stories's Introduction

Waffle.io - Columns and their card count

Build Status

README

Family Stories is our cross-pollination group project for Module 4 of 4 at the Turing School of Software & Design.

This repository is backend only and includes the following tech: Ruby on Rails & PostgreSQL. Our frontend can be found at https://github.com/dylhof/family-stories.

Getting Started

To run Family Stories on your local machine, navigate to the directory in which you would like the project to be located, then execute the following commands:

$ git clone [email protected]:le3ah/sweata_weatha.git
$ cd family_stories
$ bundle
$ rails g rspec:install
$ rails db:create
$ rails db:migrate
$ rails db:seed

In order to see that the backend data is working appropriately, take the rails server for a spin! Just type rails s in your terminal, and you should be able to find our backend APIs at http://localhost:3000/api/v1/families

Testing

We ran our tests using rspec and followed our coverage percentage with SimpleCov.

Screen Shot 2019-04-10 at 1 55 10 PM

Code Snippets

We used serializers to affect our response data:

class StorySerializer
  include FastJsonapi::ObjectSerializer
  attributes :title, :content, :author
  belongs_to :family
end

Schema

We did modify our schema slightly, but for our brainstorming, we used the following as our database breakdown: IMG_7974

Rubric/Project Description

http://backend.turing.io/module4/projects/cross_pollination/cross_pollination_spec

Authors

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.