krarrobo1 / stackbuilder-interview

Interview for StackBuilder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

  1. Install dependencies w/ the following command
npm install
  1. Start the app
npm run start
  1. Make an http POST request to: http://localhost:3000/plateCheck

  2. Insert plate and date in request body. { "plate":"AAA-1239", "date":"2021-07-21 20:00:00" }

  3. Responses

If user can "road" it will response:

{ "canRoad": true, "message": "You can road!, Drive safe" }

If user cannot "road" it will response:

{ "canRoad": false, "message": "You cannot road! Please take another transport" }

About

Interview for StackBuilder


Languages

Language:TypeScript 94.9%Language:JavaScript 4.5%Language:Shell 0.6%