Skip to content

Commit d8daa50

Browse files
authored
Merge pull request #29 from maick05/development
Development
2 parents e376d6d + 99e07d7 commit d8daa50

File tree

71 files changed

+2315
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2315
-255
lines changed

.env.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ RABBITMQ_USER=
88
RABBITMQ_PASSWORD=
99
RABBITMQ_HOST=
1010
RABBITMQ_VHOST=
11-
11+
JWT_SECRET=
12+
API_PORT=

.scannerwork/report-task.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
organization=dev-seeder
22
projectKey=maick05_places
33
serverUrl=https://sonarcloud.io
4-
serverVersion=8.0.0.29264
4+
serverVersion=8.0.0.31337
55
dashboardUrl=https://sonarcloud.io/dashboard?id=maick05_places
6-
ceTaskId=AYEShHKEx7rM3OF9_Y2O
7-
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AYEShHKEx7rM3OF9_Y2O
6+
ceTaskId=AYLbT06b3I3q_WNQcvco
7+
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AYLbT06b3I3q_WNQcvco

CHANGELOG.MD

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,13 @@ All notable changes to this project will be documented in this file.
6666
- Route Seed Neighborhoods By Country
6767
- Seed Regions By Puppeteer
6868
- Seed Neighborhoods By State Queue
69+
70+
## [0.0.8] - 2022-08-26
71+
72+
### Added
73+
74+
- Improve response from DB Regions By Country
75+
- Puppeteer Stealth plugin implementation
76+
- Puppeteer change proxy implementation
77+
- Puppeteer Cluster Implementation for queue process
78+
- JWT Authentication

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
66
[circleci-url]: https://circleci.com/gh/nestjs/nest
7+
[url-prod]: http://places.devseeder.com/api
78

89
<p align="center">This project use <a href="https://github.com/nestjs/nest" target="_blank">NestJS</a>, a progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
910

@@ -14,6 +15,8 @@
1415
<li>NodeJS</li>
1516
<li>Puppeteer</li>
1617
<li>MongoDB</li>
18+
<li>RabbitMQ</li>
19+
<li>JWT Auth</li>
1720
</ul>
1821

1922
## Description
@@ -23,6 +26,7 @@ API to get Places by Local Names.
2326
- Neighborhoods
2427
- Cities
2528
- States
29+
- Regions
2630
- Countries
2731

2832
## Installation
@@ -81,19 +85,19 @@ After run the server, make a get in browser, postman or similar
8185

8286
```bash
8387
## Neighborhoods By City example
84-
http://localhost:3000/neighborhoods/city/brazil/sc/orleans
88+
http://places.devseeder.com/api/neighborhoods/city/brazil/sc/orleans
8589
## Neighborhoods By State example
86-
http://localhost:3000/neighborhoods/city/brazil/sc
90+
http://places.devseeder.com/api/neighborhoods/city/brazil/sc
8791
## Cities By State example
88-
http://localhost:3000/cities/brazil/sc
92+
http://places.devseeder.com/api/cities/brazil/sc
8993
## Cities By Country example
90-
http://localhost:3000/cities/brazil
94+
http://places.devseeder.com/api/cities/brazil
9195
## States By Country example
92-
http://localhost:3000/states/brazil
96+
http://places.devseeder.com/api/states/brazil
9397
## Countries example
94-
http://localhost:3000/countries/
98+
http://places.devseeder.com/api/countries/
9599
```
96100

97101
[Swagger](https://app.swaggerhub.com/apis/dev-seeder/Places/)
98102

99-
At the moment, it's working only for Brazilians places.
103+
At the moment, it's working only for Brazilians Neighborhoods.

config/yaml/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ microservices:
3939
by:
4040
city: 'channel-seed-neighborhoods-by-city'
4141
state: 'channel-seed-neighborhoods-by-state'
42+
auth:
43+
jwt:
44+
secret: ${JWT_SECRET}
4245
api:
43-
port: 3000
46+
port: ${API_PORT}
4447
doc:
4548
version: 0.0.7
4649
name: 'places'

0 commit comments

Comments
 (0)