Skip to content

SasVel/NEWS_API_KOA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEWS_API_KOA

This is a news REST API using KOA and MongoDb for receiving requests and communicating with the database. Work in progress.

In order to start the application you have to add a .env file with: DATABASE_URL='{your database url}' API_PORT='{your API port}'

#Available requests

*Get All - GET at /articles *Get by Id - GET /article/:id *Get by Parameters - GET /article? -fromDate -toDate

*Post a new artice - POST /article | Required parameters in JSON - reporterName - title - body | Optional parameters - tldr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published