croixk / viewing_party_lite Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool-examples/viewing_party_lite
This project forked from turingschool-examples/viewing_party_lite
As a user,
When I go to a user dashbaord,
and click "Discover Movies" button,
I am redirected to a discover page '/users/:id/discover', where :id is the user id of the user who's dashboard I was just on.
As an authenticated user,
When I visit the '/users/:id/discover' path, where :id, is the id of a valid user,
I should see
Details When the user clicks on the Top Rated Movies OR the search button, they should be taken to the movies results page (more details of this on the Movies Results Page
issue.
The movies will be retrieved by consuming The MovieDB API
When I visit a movie's detail page (/users/:user_id/movies/:movie_id
where :id is a valid user id,
I should see
Details This viewing party button should take the user to the new viewing party page (/users/:user_id/movies/:movie_id/viewing-party/new
)
And I should see the following information about the movie:
Details: This information should come from 3 different endpoints from The Movie DB API
When I visit '/users/:id' where :id is a valid user id,
I should see:
<user's name>
's Dashboard" at the top of the page*more instructions on this in the Dashboard:Discover Movies
issue.
**more instructions on this in the Dashboard:Viewing Parties
issue.
When a user visits the '/register' path they should see a form to register.
The form should include:
Once the user registers they should be taken to a dashboard page '/users/:id', where :id is the id for the user that was just created.
When I visit the discover movies page,
and click on either the Top Movies button or the Search button,
I should be taken to the movies results page (users/:user_id/movies?q=top%20rated
, /users/:user_id/movies?q=keyword
respectively) where I see:
Details: There should only be a maximum of 40 results. The above details should be listed for each movie.
I should also see a button to return to the Discover Page.
You will use RuboCop to enforce style guidelines. This is not a requirement for the project, but it's something we'd like for y'all to set up.
RuboCop will be installed when you bundle install. Simply run bundle exec rubocop from the command line to see if there are any violations. Run RuboCop throughout the project to pick up on style violations as you go.
As you work through the project, you may find some of the RuboCop complaints difficult to decipher. Reference the RuboCop documentation and the RuboCop Rails documentation for more information.
Please reach out to your instructors if you find any style violations that you believe should not be enforced. Ask your instructors before editing .rubocop.yml
When I visit the new viewing party page (/users/:user_id/movies/:movid_id/viewing-party/new
, where :user_id is a valid user's id),
I should see the name of the movie title rendered above a form with the following fields:
Details When the party is created, the user should be redirected back to the dashboard where the new event is shown. The event should also be listed on any other user's dashbaords that were also invited to the party.
As a user,
When I visit a user dashboard,
I should see the viewing parties that the user has been invited to with the following details:
I should also see the viewing parties that the user has created with the following details:
In addition to the normal deployment, you will also need to set up any API keys manually for your Heroku production environment.
When a user visits the root path they should be on the landing page ('/') which includes:
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.