The final result: https://karguo.herokuapp.com/
This was what I had written prior to starting the project: -
Each page will have the same top Title and Navigation bar
Navigation bar will include links to: - home, login/signup, email us/suggestions and possibly a theme switcher (which will use JS)
Models will include shows, comments and users. Shows table will hold id, title of show, an image_url of the show (possibly from OMDBapi). Comments table will hold id, a text body and a show_id Users table will hold id, email, password_digest and a column checking if user is an admin or not. Suggestions will hold id, user_id/email and a text body.
Admin users will be allowed to ADD new shows, EDIT show information and DELETE show information. Regular guest users will be allowed to LIKE a show and to COMMENT (and edit/delete their comment) a show
Links to my wireframe/framework: Imgur Imgur Imgur Imgur Imgur Imgur
Thoughts after doing the project:
I think I managed to achieve most of what I had set out to do which I am very happy about. It ended up being a very basic CRUD app which could possibly have had more features but I think it does serve what I wanted it to, ie an app showing a list of TV shows that are currently airing that are based on comic books.
There are 3 types of users: - 1) admin with full access, including ability to add and delete shows. Add and delete comments and suggestions. 2) user with slightly more limited access, ie, view the individual shows, add comments, add suggestions. 3) guest with limited access, ie, view the individual shows, view the comments and suggestions but unable to contribute to them.
Theme switcher with 3 different css files completed using Javascript and Local Storage. The Javascript was again challenging for me but it is working at least.
Things I would do: More graphics on my pages, some are quite bare. Instead of deleting any show, put them into an archive instead. Allow users to delete their own comments.