git clone https://github.com/sks147/hnbg.gitcd hnbgnpm installnpm run dev
For authenticating and getting user information x-auth-token is required in requests.
Get All articles
Mark Article as Read
- Adds the current article to the read_articles list in user profile
- By clicking on
Mark As ReadButton we can call the api to read article api - In frontend we can check if the article is present in read_articles list we can show it as read

Delete the Article for Logged in User Profile
- Adds the current article to the deleted_articles list in user profile
- By clicking on
DeleteButton we can call the api to delete article api - In frontend we can check if the article is present in deleted_articles list we can hide it from user

Postman Collection






