# Project: TwitterTracker
## Description: Twittwe Tracker
# 📁 Collection: Keywords 


## End-point: Get keywords.
### Description: Get keywords.

You can spesify the limit of the query adding param in the request.

http://localhost:3000/api/keywords?limit=10

Also search tweets for keword.
http://localhost:3000/api/keywords?limit=10&keword=node.


Method: GET
>```
>http://localhost:3000/api/keywords/
>```

⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃


## End-point: Get spesific kewords
### Description: Get spesific kewords by id
Method: GET
>```
>http://localhost:3000/api/keywords/5eb6f9c8a8dccd56dd2915f6
>```

⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃


## End-point: Edit kewords
### Description: Edit kewords
Method: PUT
>```
>http://localhost:3000/api/keywords/5eb6f9c8a8dccd56dd2915f6
>```
### Body (**raw**)

```json
{
	"name": "node",
	"status": true
}
```


⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃

# 📁 Collection: Tweets 


## End-point: Get tweets
### Description: Get tweets
Method: GET
>```
>http://localhost:3000/api/tweets?keyword=node&limit=5
>```
### Query Params

|Param|value|
|---|---|
|keyword|node|
|limit|5|



⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃


## End-point: Get tweets by id
### Description: Get tweets by id
Method: GET
>```
>http://localhost:3000/api/tweets/5eb8d254291de45fd8a4bec8
>```

⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃


## End-point: Update tweet
### Description: Update tweet
Method: PUT
>```
>http://localhost:3000/api/tweets/5eb8d254291de45fd8a4bec8
>```
### Body (**raw**)

```json
{
	"createdAt": "2020-05-10T22:57:57.000Z",
	"id": 1259618708684705800,
	"img": "http://pbs.twimg.com/profile_images/880663618894909440/5zMFPn_g_normal.jpg",
	"keyword": "platzi",
	"lang": "und",
	"location": "Monterrey, Nuevo León",
	"screen": "AngelCortez7",
	"text": "#photography #platzi #LearningAtHome https://t.co/BdPMKUTPwD",
	"username": "Ángel Cortéz"
}
```


⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃


## End-point: Upload images
### Description: 
Method: POST
>```
>http://localhost:8080/upload
>```
### Body formdata

|Param|value|Type|
|---|---|---|
|file|/Users/mac/Downloads/db.jpeg|file|



⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃

_________________________________________________
Author: [bautistaj](https://github.com/bautistaj)

Package: [postman-to-markdown](https://github.com/bautistaj)
