freeCodeCamp / news

freeCodeCamp's JAMstack Developer News publication. Built with 11ty, Ghost, and help from kind contributors like you.
https://freecodecamp.org/news
BSD 3-Clause "New" or "Revised" License
56 stars 40 forks source link

Implementing Backend API for Article Listing for authors #1017

Open prankurpandeyy opened 4 days ago

prankurpandeyy commented 4 days ago

Is your feature request related to a problem? Please describe.

Our community is growing and people love our content as we are the most trusted, reputed platform for learning to code without paying a single penny, The same goes for our content writers who are developers but choose us to publish the articles. I want to implement a simple API function in the backend for our authors who wish to embed their articles on their sites or anywhere. The URL will be something like this: https://freecodecamp.com/api/articles?username={username} The username will be the same as the contributors set on their FreecodeCamp Profile. When anyone hits this URL it should return an array of objects containing following data : [ { "type_of": "article", "id": "article_id", "title": "article title", "description": "description", "readable_publish_date": "published date", "url": "url", "published_timestamp": "published_timestamp", "cover_image": "cover_image", "canonical_url": "canonical_url", "created_at": "created_at", "published_at": "published_at" } ]

Describe the solution you'd like

I wish to implement this task

Describe alternatives you've considered

I tried searching many things but didn't get the desired result

Additional context

No response

kiranrokkam09 commented 4 days ago

assign it to me

ilenia-magoni commented 4 days ago

@kiranrokkam09 it's not open for contribution, only issues with the https://github.com/freeCodeCamp/freeCodeCamp/labels/help%20wanted label are open for contribution