mackenzie-frey / bookclub Goto Github PK
View Code? Open in Web Editor NEWBackend Module 2 paired Rails project, weeks 2 and 3
Backend Module 2 paired Rails project, weeks 2 and 3
As a Visitor,
I should not be permitted to save a book review using a name
I've previously used to review a specific book.
(user names are unique for a specific book's reviews)
child of #8
depends on #19
As a visitor
With the exception of an author's show page,
Anywhere I see an author's name on the site,
I can click on the name to go to that author's show page.
child of #34
depends on #17
As a visitor
With the exception of a book's show page,
Anywhere I see a book title on the site,
I can click on the book title to go to that book's show page.
child of #34
depends on #23
This "show" page will display information about a visitor who has left reviews for books on our system.
child of #36
As a Visitor,
When I visit an author's show page,
Next to each book written by that author
I should see one of the highest rated reviews
(review should contain the title, score, and user name)
child of #18
depends on #17
depends on #19
As a visitor
I see a navigation bar
This navigation bar includes links for the following:
- a link to return to the welcome / home page of the application ("/")
- a link to browse all books ("/books")
child of #34
This series of stories will set up a navigation bar at the top of the screen and present links and information to users of your site.
There is no requirement that the nav bar be "locked" to the top of the screen.
You will need to set up some basic routing and empty controller actions and empty action view files.
child of #36
As a Visitor,
When I visit a user's show page
I should also see links to sort reviews in the following ways:
- sort reviews newest first (descending chronological order)
- sort reviews oldest first (ascending chronological order)
child of #15
depends on #14
BE Mod 2 Week 2/3 Paired Project
This purpose of this application is for users to browse and review books. The primary goals of this project are to test your ability to set up many-to-many relationships and accessing attributes through multiple model relationships.
These user stories may be worked on in any order that makes sense to your team. The most optimal order may not be a top-to-bottom approach.
As a Visitor,
When I visit a book index page,
I see all book titles in the database.
Each book entry on the page shows the author(s) and number of
pages in the book, and the year it was published.
child of #29
As a Visitor,
When I visit a user's show page to see their reviews,
I see additional links to sort their reviews in the following ways:
- sort reviews by highest rating, then by descending date
- sort reviews by lowest rating, then by ascending date
child of #8
depends on #14
As a visitor
With the exception of a user's show page,
Anywhere I see a user's name on the site for a book review,
I can click on the name to go to that user's show page.
child of #34
depends on #14
As a Visitor,
When I visit a user's show page,
I see a link next to each review to delete the review.
When I delete a review I am returned to the user's show page
Then I should no longer see that review.
child of #12
depends on #19
depends on #14
As a Developer
I will spend additional time on HTML layout and CSS styling
to create a visually outstanding project
child of #8
This index page will be the primary page visited by users of the application.
Set up a minimum of 12 books to appear on this page.
child of #36
Visitors will have the ability to delete content in our application, such as reviews, books, and authors.
child of #36
As a Visitor,
When I visit a book's show page
I see a link to add a new review for this book.
When I click on this link, I am taken to a new review path.
On this new page, I see a form where I can enter:
- a review title
- my username as a string
- a numeric rating that can only be a number from 1 to 5
- some text for the review itself
When the form is submitted, I should return to that book's
show page and I should see my review text.
User names should be converted to Title Case before saving.
User names should be unique within the system.
child of #21
As a Visitor,
When I visit an author's show page,
I see a link on the page to delete the author.
This link should return me to the book index page where I
no longer see this author listed.
If this author was the only author for any book, that book is also deleted.
If this author co-authored a book with someone else, that book should also be deleted, but not the other author.
(you may need to delete other content before you can delete an author or book)
child of #12
depends on #17
As a Visitor,
When I visit a book's show page,
I see the book title, the author(s) and the number of pages in the book.
I also see a list of reviews for that book.
Each review will have a title and user, a numeric rating
from 1 to 5, and text for the review itself, and all content
must be present for each review.
child of #24
As a Visitor,
When I visit the book index page,
Next to each book title, I see its average book rating
And I also see the total number of reviews for the book.
child of #29
depends on #28
As a Visitor,
When I visit the book index page,
I see a link that allows me to add a new book.
When I click that link, I am taken to a new book path.
I can add a new book through a form, including the book's
title, author(s), and number of pages in the book.
When I submit the form, I am taken to that book's show page.
Book titles should be converted to Title Case before saving.
Book titles should be unique within the system.
For authors, a comma-separated list of names should be entered,
and each author will be added to the database.
Authors added to the database should have their names converted
to Title Case.
Author Names should be unique within the system.
child of #21
If you finish the user stories above before the deadline, you are expected to attempt extension work. Extensions should not be attempted until all other work is complete.
As a Visitor,
When I visit the book index page,
I should see one link each to sort the books by the following criteria:
- sorted by average rating in ascending order
- sorted by average rating in descending order
- sorted by number of pages in ascending order
- sorted by number of pages in descending order
- sorted by number of reviews in ascending order
- sorted by number of reviews in descending order
child of #29
depends on #28
As a Visitor,
When I visit a book's show page,
I see an area on the page for statistics about reviews:
- the top three reviews for this book (title, rating and user only)
- the bottom three reviews for this book (title, rating and user only)
- the overall average rating of all reviews for this book
child of #24
As a visitor or user of the site
I will perform all user stories
By visiting the application on Heroku.
Localhost is fine for development, but
the application must be hosted on Heroku.
child of #36
As a Visitor,
When I click on a user's name for any book review
I am taken to a show page for that user.
I should see all reviews (title, rating and text) that this
user has written.
child of #15
depends on #19
As a Visitor,
As a Visitor,
When I visit the book index page,
I see an area showing statistics about all books:
- three of the highest-rated books (book title and rating score)
- three of the worst-rated books (book title and rating score)
- three users who have written the most reviews (user name and review count)
child of #29
depends on #28
depends on #1
Our application will need a way for users to input new books, and to leave reviews for books.
child of #36
As a Visitor,
When I visit the book index page,
In the Statistics area of the page,
I should also see three authors who have the highest-rated books
(average rating of all books for that author)
child of #8
depends on #28
As a Visitor,
When I visit a book's show page,
I see a link on the page to delete the book.
This link should return me to the book index page where I
no longer see this book listed.
(your controller may need to delete other content before you can delete the book)
child of #12
depends on #23
As a Visitor,
When I visit an author's show page
I see all book titles by that author
Each book should show its year of publication
Each book should show its number of pages
Each book should show a list of any other authors
(exclude this show page's author from that list)
child of #18
depends on #20
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.