-
Notifications
You must be signed in to change notification settings - Fork 1
TEST
Instructions to Test
URLS: Local Environment: http://localhost:3000
Heroku url for client: https://pickflick-movieapp.herokuapp.com Heroku url server: https://desolate-retreat-56126.herokuapp.com
Create Users based on the roles to browse Pick Flick:
Click on signup and login form will appear. Fill out the form to register with the role you wish.
Fan: alice/alice -After logging in user will be redirected to /profile/:profileID where user can update his profile and on the right side can see the summary of his activity. -On clicking explore on the nav-bar user will be routed to fan/explore page where he can see all the users and have the option to view their profile and can also follow them. -On clicking the pick-flick icon user will be navigated to home page where user can see all the trending movie and can create watchlist and all add movie to favorites.
Critic: bob/bob -After logging in Critic will be navigated to his profile page where he can see Critic specific information. In the navigation bar URL on clicking my reviews -Critic will be redirected to all the reviews added by him where he can edit and delete all his reviews. -On Clicking the pick flick icon Critic will be redirected to /critic/:criticID/critic-home where he can see all the movies and he can add reviews for the movie by clicking the pencil-icon.
Admin: admin/admin
- After logging in Admin can navigate to Admin Profile Page (/profile/{id}) where he can update his profile info.
- On the right hand side admin can see admin specific information (i.e. links of his favorite movies and watchlist and also see number of followers and users he is following)
- On the /admin page admin can see all the registered users and can perform CRUD operation on all the users.
Display specific content for the logged in user
Critic: can write, view, edit and delete the review -clicking on PickFlick icon critic can see all the movies and then on clicking the pencil icon can add a review
- clicking on my reviews page critic can edit and delete his reviews Fan: can follow, unfollow, view profile of a user --clicking on PickFlick icon Fan can see all the movies and then on clicking the thumbs up icon can add that movie to favorite list of movies --clicking on PickFlick icon Fan can see all the movies and then on clicking the plus icon can add that movie to watchlist --on clicking delete button icon on the movie cards from watchlist and favorite list will delete the movie from the respective list.
Must allow users to change their personal information
Yes from profile user can update his personal information. Admin can update all the users.
Must be accessible to other users including anonymous users
Anonymous or not legit user can just see Name, username, Followers and Following of the user.
Must hide personal/private information from others visiting the profile
Anonymous or not legit user can just see Name, username, Followers and Following of the user. They cannot see sensitive information like date of birth, email and other personal details.
Must group similar/related data into distinguishable group
Admin: profile page you can see number of followers and favorites , admin can also see all user profile and do CRUD.
Critic:
- clicking on my reviews page critic can edit and delete his reviews and view all his reviews
Fan: can follow, unfollow, view profile of a user -clicking on PickFlick icon Fan can see all the movies and list of his favorite and watch listed movies
Must display lists of snippets and links of all data related to a user
If user is Fan, after logging user can click on explore to view page where he/ she can follow unfollow and see profile of a user. Similarly Critic can see all his/her reviews, write a new review from pick flick icon, edit and delete a review from my reviews on nav bar.
Must provide a form to search a remote API, not your own API
There is a field in the page to search for TV shows and movies
**Must provide a summarized list of results matching the search criteria **
After typing the search, user can see filtered cards of movies based on search criteria
Must provide a link/button to navigate to the details page
On clicking view or more details.. (depends upon the page from where are you performing the search) user can navigate to details page
Can augment the results with related data in your local databases (optional)
For loggedin user this is handled when you search you have an option to like/dislike an dadd that movie card to watchlist
Must retrieve details from the remote API based on some unique identifier provided as a parameter from the search/results page
When user types some search parameter results will be displayed based on the search filter. If user clicks on the card he/she will be redirected to details page where he can see movie overview and other stuff
**Must display additional related data from the local database **
If a critic has already reviewed the movie user should be able to see the reviews of the movie/ if user is logged in a critic he/she can also add a review and view it
**Must provide links to related data/users **
User can see the profile of the reviewer
**Must allow users to register and create a new account **
/login will allow to register user
Must allow choosing a role(s) for a user
there is a option in the dropdown to select the role
**Must allow login in and identifying themselves **
Since certain profile specific features like follow a person, unfollow a person, write a review a review requires user to identify themselves as either Critic/Fan/Admin
Must disallow access to at least one Web page unless logged in
User cannot see watchlist and favorite and also cannot perform both actions without logged in.
Must allow access to all other Web pages even when not logged in
Yes except few details which are profile specific anonymous user can view fans, movie details and reviews, trending movies and all that information which does not require logging.
**Must adapt content based on whether user is logged in or not for at least the Home page and Profile page **
User cannot see watchlist and favorite and also cannot perform both actions without logged in.
**Must force login only when identity is required **
When anonymous user clicks on movie details, on details page when user tries to write review for a movie identity is required.
Must be mapped to /login
Mapped to login
End User 1 (alice/alice) CREATING a domain object
Role alice/alice: FAN FAN can create a list of favorite movie and watchlist by clicking on PickFlick icon which will navigate him to fan home page
End User 1 (alice/alice) READING a domain objec
Through explore page alice can see all other users through explore page by clicking on explore icon in the nav bar. On clicking the pick flick icon user can see the top trending movies.
**End User 1 (alice/alice) UPDATING a domain object **
Through explore page user can see all other users through explore page by clicking on explore icon in the nav bar. User has the option to follow other users and see their profile. On clicking the pick flick icon user can see the top trending movies and can add movies to list of favorites and watchlist
**End User 1 (alice/alice) DELETING a domain object **
On clicking the pick flick icon user can see the movies to list of favorites and watchlist. On clicking the delte icon on the movie card from favorites and wishlist user can delete the domain object.
End User 2 (bob/bob) CREATING a domain object
Role alice/alice: Critic Critic can write a review for a movie by writing review for a movie.This can be done when critic clicks on pick flick and write the review by clicking on pencil icon
Role alice/alice: Critic End User 2 (bob/bob) READING a domain object *
**End users are required to be able to CRUD a domain object. **
Role bob/bob: Critic By logging in with critic type role, on clicking my reviews user can read all the reviews he has posted so far.
End User 2 (bob/bob) UPDATING a domain object
By logging in with critic type role, on clicking my reviews user can update the review.
**End User 2 (bob/bob) DELETING a domain object **
By logging in with critic type role, on clicking my reviews user can delete the review.