malave / lob-challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

API for searching addresses from addresses.json.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

Test

# search for CA
$ curl --location --request GET 'http://localhost:3000/api/search/CA'

# Query will be tokenized by space and will return all possible values
$ curl --location --request GET 'http://localhost:3000/api/search/CA San'

About


Languages

Language:TypeScript 90.9%Language:JavaScript 9.1%