Code Monkey home page Code Monkey logo

dealertrack_challenge's Introduction

dealertrack_challenge

This code has been made for Dealertrack code challenge.

Originally it was to be developed in Angular 7, after I read all the information provided by the company, I started to plan all what I was going to do. Design a MVP project and extra features in case I have finished in time.

After I finish I was reading again the document provided (for double-check) when I realized I read Internet Explorer and in someway I associated with Edge. When I tested in Internet Explorer, not even the "loading" appeared. I had to code all the UI again.

In order to avoid any possibility of not being compliant with Internet Explorer I went old school and I made it in: .net core 2.1, C# MVC, jQuery and Bootstrap.

Prerequisite to use: .Net Core 2.1, SQL Server LocalDB.

How to use

  • Just open Visual Studio, Rebuild solution this will download all NuGet packages used.

  • This project is using EF core with migrations, for persistence of the csv parsing, you have to run the Update-Database command, instructions below:

    • This will create a database in your LocalDB for persist the csv parsing.
    • Go in menu Tools > NuGet package manager > package manager console.
      • In the console, make sure the Default project is "Presentation\Dealertrack.UI"
      • type the following command: Update-Database

IMPORTANT: As I don't know if you want the application to persist, I coded some purposely fallbacks, so you can still import a csv and visualize it without persistence.

NOTE: If you decide to not use persistence, the loading at the beginning is going to take longer. Because of the EF Core timeout.

Architecture

I created the solution to be a DDD Microservice-oriented solution. I didn't use Mediator and CQRS, though. It would be over-engineering, even for a experience evaluation code.

For DI I was going to use Autofac, but it turned to be unnecessary for this project, so I just used the native DI from .net core.

Thank you, I hope you like it. Feel free to contact me in case you have any doubts or information needs.

dealertrack_challenge's People

Contributors

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