Skip to content

API Service with NestJS, Puppeteer, MongoDB, RabbitMQ to get places by local names

Notifications You must be signed in to change notification settings

DevSeeder/places

Repository files navigation

Nest Logo

This project use NestJS, a progressive Node.js framework for building efficient and scalable server-side applications.

Technologies

  • NestJS
  • NodeJS
  • Puppeteer
  • MongoDB
  • RabbitMQ
  • JWT Auth

Description

API to get Places by Local Names.

  • Neighborhoods
  • Cities
  • States
  • Regions
  • Countries

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Contact

maicksantos05@hotmail.com

Example

After run the server, make a get in browser, postman or similar

## Neighborhoods By City example
http://places.devseeder.com/api/neighborhoods/city/brazil/sc/orleans
## Neighborhoods By State example
http://places.devseeder.com/api/neighborhoods/state/brazil/sc
## Cities By State example
http://places.devseeder.com/api/cities/state/brazil/sc
## Cities By Country example
http://places.devseeder.com/api/cities/country/brazil
## States By Country example
http://places.devseeder.com/api/states/country/brazil
## Countries example
http://places.devseeder.com/api/countries/

Swagger

At the moment, it's working only for Brazilians Neighborhoods.