Giter VIP home page Giter VIP logo

danchulesku / film-to-watch Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

Do you want to watch a movie, but you don't know which one? You're in the right place! RUS: Вы хотите посмотреть фильм, но не знаете, какой именно? Вы находитесь в нужном месте!

License: MIT License

Ruby 100.00%
beginner-project console-app study-project

film-to-watch's Introduction

Film-to-watch

Do you want to watch a movie, but you don't know which one? You're in the right place! With this app you can easily pick one

Mechanics

You launch the app and choose the director whose movie you want to watch Снимок экрана от 2022-10-02 16-32-28

изображение

To start

  1. Download all files to single folder
  2. Open CMD
  3. Open program directory in CMD
  4. Install all the gems (libraries) required by the application by entering these commands in CMD:
gem install bundler
bundle install
  1. Launch app by entering this(you are in program directory already)
bundle exec ruby main.rb

P.s

This is simple console app that parse films from website and gives them to user. I created this app during first month of learning ruby on the good programmer course

What have I learned during developing this app?

  • Working with HTTP
  • Parsing Websites
  • Better understanding of OOP

RUS

Фильм на вечер

Вы хотите посмотреть фильм, но не знаете, какой именно? Вы находитесь в нужном месте! С помощью этого приложения вы можете легко выбрать кинокартину

Механика

Вы запускаете приложение и выбираете директора, чей фильм вы хотите посмотреть. Снимок экрана от 2022-10-02 16-32-28

изображение

Чтобы начать выбирать фильм

  • Вы должны иметь на используемом устройстве установленный ruby(версия 2.6 и выше. Гайд по установке - https://rubyrush.ru/steps/setup-ruby).
  1. Скачайте все файлы в одну папку
  2. Откройте командную строку
  3. Откройте скаченную директорию в командной строке
  4. Установите все гемы(библиотеки) используемые приложением, введя эти комманды
gem install bundler
bundle install
  1. Запустите прилложение, введя это(находясь в директории приложения через командную строку)
bundle exec ruby main.rb

P.s

Это простое консольное приложение, которое парсит фильмы с сайта и выдает их пользователю. Я создал это приложение во время первого месяца изучения языка ruby на курсе хорошего программиста

Чему я научился во время разработки?

  • Работать с сетью
  • Парсить сайты с помощью nokogiri
  • Чуть лучше усвоил ООП

film-to-watch's People

Contributors

danchulesku avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.