Coder Social home page Coder Social logo

roman-numerals-api's Introduction

Roman Numerals API Task

This development task is based on the Roman Numeral code kata which may have already been completed during this recruitment process. This task requires you to build a JSON API and so any HTML, CSS or JavaScript that is submitted will not be reviewed.

Brief

Our client (Numeral McNumberFace) requires a simple RESTful API which will convert an integer to its roman numeral counterpart. After our discussions with the client, we have discovered that the solution will contain three API endpoints, and will only support integers ranging from 1 to 3999. The client wishes to keep track of conversions so they can determine which is the most frequently converted integer, and the last time this was converted.

Endpoints Required

  1. Accepts an integer, converts it to a roman numeral, stores it in the database and returns the response.
  2. Lists all the recently converted integers.
  3. Lists the top 10 converted integers.

What we are looking for

  • Use of MVC components (View in this instance can be, for example, a Laravel Resource).
  • Use of Fractal or Laravel Resources
  • Use of Laravel features such as Eloquent, Requests, Validation and Routes.
  • An implementation of the supplied interface.
  • The supplied PHPUnit test passing.
  • Clean code, following PSR-12 standards.
  • Use of PHP 7.4 features where appropriate.

Submission Instructions

Please create a git bundle and send the file across:

git bundle create <yourname>.bundle --all --branches

roman-numerals-api's People

Contributors

bengibson avatar craigsansam avatar juddling avatar spamoom avatar

Watchers

James Cloos avatar

roman-numerals-api's Issues

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.