Coder Social home page Coder Social logo

api_disney's Introduction

CHALLENGE BACKEND - Ruby ๐Ÿš€

Develop an API to explore the world of Disney, which will allow knowing and modifying the characters that make it up and understanding in which movies they participated. On the other hand, you will need to expose the information so that any frontend can consume it.

๐Ÿ‘‰ Use Ruby on Rails.

๐Ÿ‘‰ It is not necessary to assemble the Frontend.

๐Ÿ‘‰ Routes must follow the REST pattern.

Technical requirements:

1๏ธโƒฃ Database Modeling.

โ— Character: must have,

โ—‹ Image (does not need to be persisted in the database).

โ—‹ Name.

โ—‹ Age.

โ—‹ Weight.

โ—‹ History.

โ—‹ Associated movies or series.

โ— Film or Series: must have,

โ—‹ Image (does not need to be persisted in the database).

โ—‹ Title.

โ—‹ Creation date.

โ—‹ Rating (from 1 to 5).

โ—‹ Associated characters.

โ— Gender: must have,

โ—‹ Name.

โ—‹ Image (does not need to be persisted in the database).

โ—‹ Associated movies or series.

2๏ธโƒฃ User Authentication

To make requests to subsequent endpoints, the user must have a token that you will get when you authenticate. To do this, registration and login endpoints must be developed, which allow to obtain the token.

3๏ธโƒฃ List of Characters

The list must show:

โ— Image (it does not need to be persisted in the database).

โ— Name.

4๏ธโƒฃ Character Creation, Editing, and Deletion (CRUD)

The basic operations of creating, editing and deleting characters should exist.

5๏ธโƒฃ Character Detail

In the detail, all the attributes of the character must be listed, as well as their related movies or series.

6๏ธโƒฃ Character Search

It should allow you to search by name, and filter by age, weight or movies/series in which you participated.

To specify the search term or filters, they must be sent as query parameters:

โ— GET /characters?name=name

โ— GET /characters?age=age

โ— GET /characters?movies=idMovie

7๏ธโƒฃ List of Movies

It should show only the image, title and creation date fields.

The endpoint should be:

โ— GET /movies

8๏ธโƒฃ Detail of Movie / Series with its characters

It will return all the fields of the movie or series along with the characters associated with it

9๏ธโƒฃ Movie/Series Creation, Editing and Deletion (CRUD)

The basic operations of creating, editing and deleting movies or series must exist.

1๏ธโƒฃ0๏ธโƒฃ Search for Movies or Series

It should allow you to search by title, and filter by genre. Also, allow to order the results by date of creation in an ascending or descending way.

The search term, filter or sort must be specified as query parameters:

โ— /movies?name=name

โ— /movies?genre=idGenre

โ— /movies?order=ASC | DESC

1๏ธโƒฃ1๏ธโƒฃ Sending emails

When registering on the site, the user should receive a welcome email. It is recommended, the use of a third-party service such as SendGrid.

โ€ผ Documentation: It is desirable and optional to document the endpoints using a tool such as Postman or Swagger.

api_disney's People

Contributors

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