Code Monkey home page Code Monkey logo

relational_rails's Introduction

Relational Rails

Turing 2110 Back End Module 2: Relational Rails Project

About:

  • Welcome to Relational Rails. This project is an intro to Ruby on Rails and the one to many relationship of databases. It features the basics of CRUD and RESTful routing to follow proper conventions. There are basic ActiveRecord associations and usability to navigate the app and perform basic sort/filter functionality. See the below schema that was used with our project.
Authors - Books Pediatricians - Patients
Screen Shot 2021-11-30 at 2 26 56 PM image

Built With:

  • This repository requires and has been tested on Ruby v2.7.2 and is based on Rails 5.2.6.
  • RSpec, Pry, SimpleCov, Capybara, Launchy, Shoulda-Matchers v5.0, and Orderly have been installed and setup.

Setup:

  1. Fork this Repo
  2. Clone your Fork
  3. In your terminal run the following:
  4. git clone <paste_repo>
  5. cd <repo_name>
  6. bundle install
  7. rails db:{create, migrate, seed}

Testing:

  • If you'd like to run through the test suite just use the rspec spec/<file_name> on any of the spec files.
  • SimpleCov is also used to ensure tests have full coverage.
  • To run the Simplecov report type the following into your terminal: open coverage/index.html
  • See details here: SimpleCov
  • There are both unit and integration tests for the individual methods and for methods that incorporate several others.

Challenges & Wins:

  • This project was great to get accustomed to MVC, Restful Routes, CRUD, ActiveRecord Associations, basic rails helpers such as form_with, and overall experience with schema and databases.
  • Learning how to incoporate GitHub and the PR's in a different manner with the more complex structure.

Authors:

relational_rails's People

Contributors

emielke76 avatar kevingloss avatar

Watchers

 avatar

Forkers

emielke76

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.