This is a modified Broadway look alike web app that allows users to add movies and series (with full CRUD ability), assign to Categories (Genres of the movies and series) and also Review using a 5-star rating system (w/ Average Ratings as well).
- Uploading of images using Active Storage instead of Paper Clip (including validations of attachments).
- Adding a favicon using RealFaviconGenerator.
- More CSS styling.
- The name too.
git clone https://github.com/joancodes/showd.git
cd showd
ruby -v
rails -v
The ouput should start with something like ruby 3.3.6
Rails 8.0.0
If not, install the right ruby and rails versions using rbenv (it could take a while):
rbenv install 3.3.6
gem install rails -v 8.0.0
bundle && yarn
In use Bundler version 2.3.3
and yarn -v 1.22.22
rails db:create db:migrate db:seed
Note: this application is using the default ruby database
rails s
This will generate auto-code to start the server
=> Booting Puma
=> Rails 8.0.0 application starting in development
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 6.4.3 (ruby 3.3.6-p108) ("The Eagle of Durango")
* Min threads: 3
* Max threads: 3
* Environment: development
* PID: 34362
* Listening on http://127.0.0.1:3000
* Listening on http://[::1]:3000
Use Ctrl-C to stop
Now open your browser and type the following http://localhost:3000
to load the application.