Coder Social home page Coder Social logo

smartcar_coding_challenge's Introduction

Author: Kevin Dious ([email protected])

The details of the coding challenge are explained in the file: SmartCar_Backend_Challenge.html

This folder contains the files to run my implementation of the SmartCar API spec as a server. The server will listen for requests on localhost port 8081 (http://localhost:8081). The server is written to respond HTTP requsts received that are formatted per the SmartCar API specification document (See SmartCar_Backend_Challenge.html).

The server was designed to be modular in that there is a spearate library that is used to interface with the GM server. This way you can interact with other remote servers by simply creating/including the library for the new server and adding additional handler routines for interfacing with the new remote server.

Required Node.js libraries to run everything:
request
loglevel
util
request-json-light
body-parser
express

To launch the server type: node SmartCar_API_Sever.js

Once the server has been launched, then either the SmartCar_Client_Unit_Tests script or the SmartCar_Test_Client.js script can be launched by running:

node SmartCar_Client_Unit_Tests.js

or

node SmartCar_Test_Client.js

The default log level is set to "debug" in each file so that the console will display all printouts. This can be easily changed ber the loglevel module.

This was tested again Node.js version 4.4.4

smartcar_coding_challenge's People

Watchers

James Cloos avatar  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.