Coder Social home page Coder Social logo

public-library-app's Introduction

Public Library App

Current Labs Version Issues Count

snape

Overview

Your goal is to build a membership-tracking application in Ruby on Rails - for public libraries. Your app will allow users to sign up and track their memberships in various libraries.

Goals

By the end of this lab you will have:

  • Basic-Auth: sign up, log in, log out
  • Basic views for your users
  • A Many-to-Many database relationship: Users, Libraries, Library Users
  • "Skinny" controllers

Getting Started

Do not fork and clone this repo, as you will be creating a new Rails project. You should, however, track your project in git and GitHub. Make frequent commits with descriptive commit messages!

Part 1: Users & Auth

Solution branch: 1_users_and_auth

Solution branch: 2_library_users

public-library-app's People

Contributors

ajbraus avatar bgveenstra avatar cofauver avatar esthersweon avatar jeanmw avatar jlopker avatar nathanallen avatar tgaff avatar

Watchers

 avatar  avatar  avatar  avatar

public-library-app's Issues

modify approach to CRUDing memberships

Should be cruding the join table. Leads to cleaner / more restful routes.

e.g. (better)

POST /library_users  ?user_id=10&library_id=20  # create a membership
DELETE /library_users/:id                 # destroy a membership

Current (less clear):

POST /libraries/:id/users            #create a new user for a specific(?) library

Edit Instructions

screen shot 2017-03-10 at 3 53 13 pm

in Part I, while making the new user form, the instructions say that, once you make your template, you should be able to see the form. We found this to be false. You, in fact, have to build your POST route and add a 'create' method to your controller before the page will actually show.

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.