Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User feed feature and Cloudflare #57

Open
2 tasks done
bryanwong8 opened this issue Jun 2, 2020 · 0 comments
Open
2 tasks done

User feed feature and Cloudflare #57

bryanwong8 opened this issue Jun 2, 2020 · 0 comments
Assignees
Labels
backend This is a backend issue
Projects

Comments

@bryanwong8
Copy link
Contributor

bryanwong8 commented Jun 2, 2020

Is your feature request related to a problem? Please describe.
We need to implement a feature to retrieve the latest posts from the tags that the users are following.

We also need to implement CloudFlare CDN with the staging and production sites for our API. This is to make all of the JSON responses faster.

Describe the solution you'd like:
Create a route to display the latest posts from the tags that the users are following.
Integrate Cloudflare with Heroku staging and production sites.

Models
None

Schemas
None

API Routes

User feed

Endpoints HTTP Method Description Tested
{{APIURL}}/api/user/tags/articles GET User Feed

Create/Edit Functions

User feed

  • Create a route to return the latest 5 tags from the tags that the current user is following
    • I would recommend making a class function to return the latest 5 articles from a tag.
    • Then loop through the function and store the articles in an array then return it.

Additional context

@project-bot project-bot bot added this to To do in Bit Project Jun 2, 2020
@bryanwong8 bryanwong8 added the backend This is a backend issue label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This is a backend issue
Projects
Bit Project
  
To do
Development

No branches or pull requests

2 participants