Skip to content

Movie time project, Users can create categories and movies of their choice, where they create movies and give title, description and a photo about it and other users can vote for the movies they like.

License

Notifications You must be signed in to change notification settings

arikarim/Movie-Time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

RoR / Capstone --> [Movietime]

This project is the Capstone of the Microverse curriculum at the end of the Ruby on Rails module!

Movie time project, Users can create categories and movies of their choice, where they create movies and give title, description and a photo about it and other users can vote for the movies they like.

Technologies used

  • Ruby
  • Rails
  • Bootstrap
  • Will_paginate
  • Rubocop
  • Webpacker
  • postgresql
  • Git

🚀 the project

This project can be found in (https://github.com/arikarim/rails-capstone/tree/main)

Home Page

screenshot

Show page

screenshot

Register page

screenshot

Log in page

screenshot

New Movie page

screenshot

New Category page

screenshot

🔨 instructions

To get started with the app, clone the repo and then install the needed gems:

$ bundle install --without production

Next, migrate the database:

$ rails db:migrate

Next, seed the database:

$ rails db:seed

Upload Images and create Articles

in order to be able to create movies(articles) in local machine you should do the following:

  • create an account on cloudinary

  • on your cloudinary dashboard you can see your(CLOUD_NAME, CLOUD_API AND CLOUD SECRET).

  • inside the config file create cloudinary.yml file and paste thid code below:


development:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: false
production:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: true
test:
cloud_name: put yours
api_key: 'put yours'
api_secret: put yours
enhance_image_tag: true
static_file_support: false

  • change cloud_name, api_key and api_secret to yours using the cloudinary dashboard.

Rspec and Capibara

  • bundle exec rspec

when the tests passed you can ru the server with:

$ rails server

🤝 contributing

contributions, issues, and feature requests are welcome!
feel free to check issues page.

  1. fork it (https://github.com/arikarim/rails-capstone/fork)
  2. create your working branch (git checkout -b [choose-a-name])
  3. commit your changes (git commit -am 'what this commit will fix/add/improve')
  4. push to the branch (git push origin [chosen-name])
  5. create a new pull request

Author

🙋‍♂ show your support

give a ⭐️ if you like this project!

📝 license

This project is MIT licensed.

About

Movie time project, Users can create categories and movies of their choice, where they create movies and give title, description and a photo about it and other users can vote for the movies they like.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published