News App
An express js api based app using Next js as -frontend which also include some cloud infracstructure
API Reference
Get all news
GET /new/
Get single news
GET /api/news/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to single news |
Get news by category
GET /api/news/${category_id}
Parameter | Type | Description |
---|---|---|
category_id |
string |
Required. Id of item to single news |
Get news by country
GET /api/news/${country_id}
Parameter | Type | Description |
---|---|---|
country_id |
string |
Required. Id of item to single news |