Coder Social home page Coder Social logo

zydeo's Introduction

Zydeo*

A Ruby on Rails app to consume Zype REST API, display some videos and do some cool stuff. :)

Zydeo Logo


Running up project externally

A working demo of this project can be found at https://zydeo.herokuapp.com/

Plus, a video of the author presenting the website and describing the application can be seen at https://www.loom.com/share/b6cc8eafb8344ef898970c0e6d796ac8

Setting up project locally

  • Clone this project
  • Setup project: rake db:create -> rake db:migrate
  • Start server: rails s
  • Execute it on base url localhost:3000.

Now it's possible to sign up using any email address but only users with a signature (a valid token within Zype platform) are able to see all the videos, including the ones marked as subscription_required=true


Project Structure

Controllers

Name            Description
Registrations   Inherits behavior from controller Devise::Registrations and overrides it to include TokensManager
Sessions        Inherits behavior from controller Devise::Sessions and overrides it to include TokensManager
Videos          Implements actions to display all of the available videos and a single one (index | show)

Models

Name            Description
User            Persists users information used to log in the local system and access tokens to
                communicate with Zype API

Managers

Name            Description
Tokens          Implements logic that consumes Zype API and deals with all tasks related to user authentication
Videos          Implements logic that consumes Zype API and deals with all tasks related to video retrieving

* COPYRIGHT

zydeo's People

Contributors

seliksy 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.