GithubHelp home page GithubHelp logo

multitracksassessment's Introduction

Welcome!

So you want to work for MultiTracks.com? This is a step in the right direction!

This repo contains a Class Library and a Web Forms Website project. As a member of the DotNET server team at MultiTracks.com you will most likely find yourself in similar projects on a regular basis. We have a number of projects also utilizing DotNetCore and all new projects in DotNet 7.

To get started:

  • Clone the repo locally
  • Open the solution in Visual Studio
  • Run "Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r" from the Package Manager Console
  • Finally run the project for further instructions

Multitracks Assesment

First things first! Go ahead and publish the DB and get the website connection string updated.

  • For this part I created a local DataBase in Sql Server, load the databese created in the project and Connected it with the project
  • image
  • And Finally I got the Complete Assessment Page :)
  • image

Now for the second point of the Assesment, I created ArtistDetails.aspx file with the markup from the project and Giving it all the connection with DB with the ArtistDetails.aspx.cs file

API Documentation

Project Structure

This project was made with Clean Architecture Structure, defining 3 principal layers(Application, Domain and Infrastructure) for each model controller

Artist
- Application
- Domain
- Infrastructure
Song
- Application
- Domain
- Infrastructure

image

Artist Controller

  • Endpoint to Search for an artist by name (GET) You have to make a GET petition to this url https://localhost:[YOUR_OPEN_PORT]/api/artist?ArtistName=[ARTIST_NAME] Example Request:

      https://localhost:[YOUR_OPEN_PORT]/api/artist?ArtistName=Marcos%20Witt
    

    image image

  • Endpoint to add an Artist to the Artist Table (POST) You have to make a POST petition to this URL: https://localhost:[YOUR_OPEN_PORT]/api/artist , with this example Body in the Rquest:

      {
        "title": "Marcos Witt",
        "imageURL": "https://mtracks.azureedge.net/public/images/artists/cover/512/257.jpg",
        "heroURL": "https://mtracks.azureedge.net/public/images/artists/hero/2420/257.jpg",
        "biography": "Marcos Witt es reconocido como músico, cantante y compositor. Es originario de San Antonio, Texas. Creció en Durango, México, como hijo de misioneros, en donde realizó sus estudios básicos y sus primeros estudios musicales. Es considerado uno de los pioneros de la música cristiana en español y también uno de los más queridos promotores de este género, representando a la música cristiana en América Latina y llevando a cabo conciertos masivos en muchos países. Cuenta con 43 álbumes, 10 DVD, 9 singles y varios millones de copias de sus álbumes vendidas en todo el mundo. Ha sido galardonado con cinco Latin GRAMMY® y dos Premios Billboard, recibiendo muchas otras nominaciones y reconocimientos. Sus presentaciones convocan a multitudes en los principales foros de América Latina, algunas ante un público superior a las 80,000 personas. Marcos se convirtió en una de las figuras más influyentes en la historia del cristianismo en América Latina, no solo como cantante y compositor, sino también como conferencista, autor, pensador y líder de opinión para la comunidad latinoamericana en general. Hoy en día, Marcos viaja alrededor del mundo para capacitar y ayudar a otros a lograr su máximo potencial a través de valores y principios sanos, reales y aplicables. Su deseo es ser conocido como alguien que impulsa y promueve a otros. Actualmente reside en Houston, Texas, con su esposa, Miriam. Tienen cuatro hijos: Elena, Jonathan, Kristofer y Carlos, y dos nietos: Krystal y Marcos."
      }
    

    image image

Song Controller

  • Endpoint to list all Songs with paging support using page size, page number, etc. (GET) You have to make a GET petition to this URL: https://localhost:[YOUR_OPEN_PORT]/api/song?PageSize=25&Page=1 Example Request:

      https://localhost:[YOUR_OPEN_PORT]/api/song?PageSize=25&Page=1
    

    image image In this case we have a total of 100 recorded songs, so the number of pages are 4 and we are currently in the page 1: "paginationInfo":{"Pages":4,"TotalRecords":100,"CurrentPage":1,"RecordsPerPage":25}

Improves that we could implement in the project

  • This project is made in a Monolithic Architecture, we could create a Microservices Architecture to improve this points:
    • Scalability
    • Modular Maintenance
    • Use of containers enabling rapid deployment and application development
    • Availability
    • Fast Changes
    • etc....

Authors

  • Carlos Javier Orduz Trujillo - Software Engineer
  • Colombia

multitracksassessment's People

Contributors

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