This repository is a sample codebase of the expected structure and implementation of the rewrite
Requirements are:
- node >=8.+
- typescript -
npm install -g typescript
- serverless -
npm install -g serverless
- First install dependencies. Use the command:
$ yarn
or if don't have yarn use:$ npm install
. - Then start serverless offline. Use the command:
$ sls offline start
- Using curl run make an API request to the route
http://localhost:3000/v1/valuation/
andhttp://localhost:3000/valuation/
- Also try,
http://localhost:3000/v2/valuation/
. It should error out UnknownService.
- This is not a rewrite of the batmobile project but just a skeleton of how the requested rewrite will look like.
John Waweru