Coder Social home page Coder Social logo

galytix-backend-assignment's Introduction

Galytix

I have used C#, and Visual Studio for Mac (M1, arm64) to develop and build the assignment. The application is available on the port 9091 as per defined in the documentation, and the address is: https://localhost:9091/.

Swagger can be accessed on: https://localhost:9091/swagger/index.html

API Endpoint: https://localhost:9091/api/gwp/avg

Approach:

I've created a controller named CountryGWPController.cs inside the Controllers folder to catch the POST request on the route api/gwp/avg, which calls a service named CSVService defined under the Services folder, to read the CSV file asynchronously, and return the desired output.

Screenshots

  1. Successful compile and run :
Screenshot 2023-12-29 at 3 58 24 PM
  1. API Endpoint response
Screenshot 2023-12-29 at 3 58 49 PM

Bonus completion:

  1. Asynchronous calls
  2. Dependency Injection / Inversion of control

galytix-backend-assignment's People

Contributors

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