Skip to content

Posts API that manages posts data like its author, likes, popularity, read and tags.

Notifications You must be signed in to change notification settings

britoskies/Posts-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posts API

Description

API for technical test at Hatchways, it manages posts data like its author, likes, popularity, read and tags. Works by passing tags as a query parameter (mandatory), sortBy (optional) and direction (optional).

Status: Finished

Tecnologies

  • NodeJS
  • ExpressJS
  • Axios

Modules

Instructions

In the project directory, you can run:

npm run dev

To test the server side / API:
Use Postman, Thunder Client or any REST Client to test all endpoints.

Example

Test route http://localhost:3000/api/posts?tags=tech as a GET request to obtain all posts filtered by the "tech" tag.


The server will reload when you make changes.
You may also see any lint errors on bad requests.

About

Posts API that manages posts data like its author, likes, popularity, read and tags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published