Giter Club home page Giter Club logo

microservices-arciniega-mattera's Introduction

Microservices-Arciniega-Mattera

ENG: Four microservices interconnected: UNQfy, Newsletter, Logging and Monitor ESP: Cuatro microservicios interconectador: UNQfy, Newsletter, Logging and Monitor

UNQfy model

ESP

En UNQfy existe una gran cantidad de temas musicales (tracks) los cuales siempre pertenecen a un álbum. Un álbum tiene un sólo artista como autor pero un artista puede ser autor de múltiples albumes. Cada track tiene asociado uno o más géneros, que son strings. También existen playlists, que son conjuntos de tracks que pueden pertenecer a diferentes álbumes.

En UNQfy, además de las típicas operaciones de alta, baja y modificación de todos estos elementos (tracks, albums, artistas), es posible: realizar búsquedas de temas. Debe ser posible recuperar todas las canciones que fueron interpretadas por un determinado artista, y todas las canciones que se correspondan con un determinado género. También se desea la opción de autogenerar una Playlist en base a una lista de géneros, es decir, rellenar una playlist con canciones de determinados géneros y con una duración máxima.

Para operar UNQfy vamos a usar, en principio, la línea de comando. Más abajo se explican los detalles pero a grandes rasgos la idea es tener una serie de comandos que permitan alterar e inspeccionar el modelo de objetos de UNQfy.

Nota 1: Todas las entidades, albumes, tracks y artistas deben tener una propiedad ID, la cual no puede repetirse.

Nota 2: Al eliminar un artista, track o album, se deberá chequear que los tracks involucrados que pertenezcan a una playlist sean borrados de la playlist también.

ENG

In UNQfy there are many songs (tracks) which always belong to an album. An Album have only one Artist but one Artist can be author of multiple Albums. Each Track have one or more genres asociated, as strings. Also there are Playlists, which are sets of Tracks which belong to different Albums. The UNQfy, besides the typical operations like upload, remove and modification of every elements, it is possible make a search of a song. It must be pusible recover all the songs that have been interpreted by a specific artist, and all the songs that corresponds to a certain genre. You also want the option of auto-generating a Playlist based on a list of genres, that is, filling a playlist with songs from certain genres and with a maximum duration.

To operate UNQfy we are going to use, in principle, the command line. The details are explained below but in broad strokes the idea is to have a series of commands that allow to alter and inspect the UNQfy object model.

Note 1: All entities, albums, tracks, and artists must have an ID property, which cannot be repeated.

Note 2: When deleting an artist, track or album, you should check that the tracks involved that belong to a playlist are deleted from the playlist as well.

UNQfy API Rest

microservices-arciniega-mattera's People

Contributors

franarci avatar iariiale avatar lucasmattera avatar

Watchers

 avatar  avatar

microservices-arciniega-mattera's Issues

No reconoce el metodo load de UNQfy

no se reconoce el metodo load(filename) al ser llamado en el main en la funcion getUNQfy(filename)
log del error:
$ node main.js add john california
/mnt/UNQ/Cloud/UNQfy-Arciniega-Mattera/main.js:10
unqfy = unqmod.UNQfy.load(filename);
^

TypeError: unqmod.UNQfy.load is not a function
at getUNQfy (/mnt/UNQ/Cloud/UNQfy-Arciniega-Mattera/main.js:10:24)
at main (/mnt/UNQ/Cloud/UNQfy-Arciniega-Mattera/main.js:53:16)
at Object. (/mnt/UNQ/Cloud/UNQfy-Arciniega-Mattera/main.js:75:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)

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.