Coder Social home page Coder Social logo

nodejs-coding-challenge's Introduction

MRP NodeJS Coding Challenge

Thank you for your interest in MRP. This challenge is intended to help us better understand your approach to solving problems using the NodeJS runtime. We are excited about your candidacy, and we are looking forward to reviewing your submission.

Dependencies

The only dependency for this challenge is NodeJS. Aside from your editor of choice, you should not need any additional software to complete this challenge.

Overview

The goal of this challenge is to develop a restful HTTP API using NodeJS. Within the data directory you will find the file users.json. Please use that file as a data source to develop a restful HTTP API for performing CRUD operations upon that data.

Requirements

  • Create a HTTP endpoint to view all of the users.
  • Create a HTTP endpoint to create a new user.
  • Create a HTTP endpoint to update an existing user.
  • Create a HTTP endpoint to delete an existing user.

Bonus Objective

  • Use TypeScript
  • Add automated tests
  • Add request validation
  • Add support for query parameters, such as:
    • pagination: ?page=2&limit=5
    • sorting: ?sortBy=email&sortDirection=ascending
    • matching: ?match[email][email protected]

Guidelines

  • Please commit early and often. We are interested in seeing more than just the final product.
  • Feel free to add NPM dependencies as you see fit.
  • Please do not add external dependencies, such as MongoDB/MySQL/etc.
  • When finished, please provide a link to your fork of this repository

Review Process

During review we are considering several factors. A non-exhaustive list has being included for your consideration.

  • General approach to API development
  • Use of native modules, prototypes, etc
  • Use of NPM dependencies
  • Code style and consistency
  • Git commit frequency and quality
  • Logical correctness
  • Performance and efficiency
  • Simplicity and flexibility

nodejs-coding-challenge's People

Contributors

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