Movie app is a movie library where people can search for movie information. If signed up, users can save movies they want to see, like movies they love and the app will push movies to users according to the movies they like.
- jQuery
- Bootstrap
- FontAwesome
- sinatra
- postgreSQL
- ActiveRecord
- Google Font API
- Draw a wireframe, identify the needs
- Design the databases
- Happy coding
- Deploy using Heroku
$ bundle install
to install the required gem$ ruby main.rb
to run the app
- Add comment feature
- Share movie with other users
- Rate director and actors
- Check for duplicate user name in signup page
- 'Load more' function on the movie list page
- Guess what kind of movie user may want to see based on tags
- Sort movies
verb | url pattern | description |
---|---|---|
get | / | home page, search movie |
get | /movie/ | show a single movie_id |
get | /about | about page |
get | /movie_list | show movie list after search |
get | /user/:id | show user homepage |
get | /login | show login page |
post | /login | login handler |
get | /signup | show sign up page |
post | /signup | sign up handler |
get | /user/edit | show user edit page |
put | /user/edit | edit user profile handler |
get | /session | return a json indicate whether user is logged in |
delete | /session | logout handler |
post | /like | add movie to favorite_movie |
delete | /like | remove movie from favorite_movie |
post | /save | add movie to saved_movie |
delete | /save | remove movie from saved_movie |