Giter VIP home page Giter VIP logo

code-challenge's Introduction

Klasha Backend Challenge Application

example workflow

Task Description

Based on the public free API you can find here you need to build a Spring boot app with the following endpoints:

  1. A GET endpoint that takes N as a parameter (number of cities) and returns the most populated N cities from Italy, New Zealand and Ghana ordered by population descending (from most populated to the least one). If in the 3 countries, there are not enough cities to cover N, please return the one you can get from the APIs.

  2. An endpoint that takes a country as a parameter (e.g. Italy, Nigeria, …) and returns: population capital city location currency ISO2&3

  3. An endpoint that takes a country as a parameter (e.g. Italy, Nigeria, …) and returns the full list of all the states in the country and all the cities in each state.

  4. An endpoint that takes a country as a parameter (e.g. Italy, Nigeria, …), a monetary amount and a target currency and provides: the country currency and using the CSV file provided converts the amount to the target currency and formats it correctly.

Application Functionalities

  • Gets most Populated Cities by N in descending order
  • Gets Country Information
  • Queries States and Cities
  • Makes Currency Conversions Seamless

How to Run Locally

Clone application: git clone [email protected]:codecharlan/code-challenge.git

From any suitable IDE (IntelliJ Recommended) and with Java installed (Java 8 and Above) run application

Postman Documentation available at :: https://documenter.getpostman.com/view/29888943/2s9YCBu9jt

**App Profile monitor available at :: http://localhost:8080/api/v1/actuator

Technology Used:

  • Java
  • SpringBoot
  • Docker
  • CI/CD
  • Junit & Mockito
  • Git and GitHub
  • Postman

code-challenge's People

Watchers

charlancodes.dev 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.