Ckbhatia / Ck-gatsby-blog

A beautiful and featureful gatsby blog starter for bloggers. It is an open-source project.
https://chetanblog.netlify.com
MIT License
37 stars 33 forks source link

Implement make a network request on build time #20

Closed Ckbhatia closed 3 years ago

Ckbhatia commented 3 years ago

Add make a network request on build time

This project should make a network request to given URL with given data only if there's a new article published by the author.

Endpoint: https://cknewsletter.herokuapp.com/api/v1/projects/slug

Request type: Post Request payload: { "slug": "vue", "apiKey": "15870449476249g9uo****" }

slug: It should be the latest article's slug or id only and make a network request if latest this is latest one and never made any request before for the same ( Or it can be handled by new build publish ).

apiKey: here you need to give project's API key obtained from ck newsletter

It will push the newsletter to your subscribers of the particular project/blog.

Please read from here for more info: ck newsletter guide

sero-dev commented 3 years ago

@Ckbhatia Can I get this issue?

Ckbhatia commented 3 years ago

@sero-dev I am glad to see your interest to work on this issue. I will be happy to see your PR for this issue.

P.s: Your star would help us

Ckbhatia commented 3 years ago

@sero-dev Hi, What's progress?

sero-dev commented 3 years ago

@Ckbhatia Hey, sorry I've been a bit busy. I might not have time to work on this.

Ckbhatia commented 3 years ago

Okay, No issues.

On Wed, 14 Oct 2020 at 22:09, Sean Rodriguez notifications@github.com wrote:

@Ckbhatia https://github.com/Ckbhatia Hey, sorry I've been a bit busy. I might not have time to work on this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ckbhatia/Ck-gatsby-blog/issues/20#issuecomment-708522043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2SGUK7ZROYPPOZC2JXMVTSKXH5VANCNFSM4SE5CPLA .

Ckbhatia commented 3 years ago

On HOLD