Coder Social home page Coder Social logo

magazinee's Introduction

Magazine App

This project is a Ruby application for managing a Magazine domain, including the relationships between Authors, Articles, and Magazines. It includes various classes and methods for creating and managing instances of these objects.

Installation

Clone this repository to your local machine. Navigate to the root directory of the project. Run bundle install to install the necessary gems To start the application, run ruby magazinee.rb from the terminal

Development Requirements

-Visual Studio Code.

Use case

The application facilitates the creation of magazine class instances that corealate to produce authors,history of sport,addition of some articles and creation on new authors.

Classes

The application includes the following classes:

Author Article Magazine Methods The application includes the following methods:

For Author class:

initialize(name) - initializes a new author instance with the given name

name - returns the name of the author

articles - returns an array of articles written by the author

magazines - returns an array of unique magazines the author has contributed to

add_article(magazine, title) - creates a new article instance and associates it with the author and magazine

topic_areas - returns an array of unique categories of the magazines the author has contributed to For Article class:

initialize(author, magazine, title) - initializes a new article instance with the given author, magazine, and title

title - returns the title of the article

author - returns the author of the article

magazine - returns the magazine of the article For Magazine class:

initialize(name, category) - initializes a new magazine instance with the given name and category

name - returns the name of the magazine

category - returns the category of the magazine

contributors - returns an array of authors who have written for this magazine ::all - returns an array of all magazine instances ::find_by_name(name) - returns the first magazine object that matches the given name

article_titles - returns an array of strings of the titles of all articles written for this magazine

contributing_authors - returns an array of authors who have written more than 2 articles for the magazine Contributing Bug reports and pull requests are welcome on GitHub at

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

.

Technologies used

HTML5 2.CSS 3.JavaScript 4.react

Author and License

"author": "antony tula", "license": "ISC", "bugs":

magazinee's People

Contributors

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