GET /installs/
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
[]
GET /installs/appName/:appName
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
{"id":1, "idfv":"mock idfv", "app_name":"Impulse", "city":"Kyiv", "device_model":"Iphone7", "install_time":"2022-05-05", "date":"2022-05-05", "att":"test_att", "is_lat": true, "updated_at":"2004-10-19 10:23:54"}
GET /installs/city/:city
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
{"id":1, "idfv":"mock idfv", "app_name":"Impulse", "city":"Kyiv", "device_model":"Iphone7", "install_time":"2022-05-05", "date":"2022-05-05", "att":"test_att", "is_lat": true, "updated_at":"2004-10-19 10:23:54"}
GET /installs/device/:device
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
{"id":1, "idfv":"mock idfv", "app_name":"Impulse", "city":"Kyiv", "device_model":"Iphone7", "install_time":"2022-05-05", "date":"2022-05-05", "att":"test_att", "is_lat": true, "updated_at":"2004-10-19 10:23:54"}
GET /installs/latest/
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
[]
GET /installs/oldest
HTTP/1.1 200 OK
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2
[]
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov