GithubHelp home page GithubHelp logo

code-kata-viswanath-chidambaram's Introduction

Code Kata - Viswanath Chidamabaram

A solution for L1 coding challenge provided by a client.

Notes

  • The problem statement talks about implementing the solution in golang, but JS was mentioned as one of the technologies in a conversation.

  • Client name is not mentioned in the repo to avoid the solution be used by future candidates (the repo will be hosted in github for sometime).

  • Though the given problem could be solved by directly getting all todos by calling /todos. But this means todos beyond 200 can't be retrieved, as the response doesn't have any HTTP pagination headers.

  • Hence /todos/{id} is called repeatedly till the given number of todos are retrieved.

  • Quite a few items in the solution could be implemented better, but time was a constraint.

Production

$ # From Project Root:

$ # Build the docker image.
$ docker build -t ck-vc .

$ # Run the built image.
$ docker run ck-vc

Development

$ # From Project Root:

$ # Setup the repo for development.
$ bash ./setup.sh

$ # Test the project.
$ npm run test

$ # Run the project.
$ npm start

code-kata-viswanath-chidambaram's People

Contributors

vc-abs 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.