Skip to content

alextran0713/API-Rss-Posts-Votes-Microservices

Repository files navigation

cpsc449 Project 2 BFF and Rss

Steps to run:

Install Flask
$ pip3 install --user Flask-API python-dotenv
Install Request
$ pip3 install --user requests
Install Gunicorn3 & foreman 
$ sudo apt install --yes gunicorn3
$ sudo apt install --yes ruby-foreman
Install FeedGenerator
$ sudo apt update
$ sudo apt install --yes python3-lxml
$ pip3 install --user feedgen

Current issue

For this project, each microservices will be given a default port to ensure that all microservices will work properly all
	•Posting microservices: localhost:5000/post/posts/all 	
	•Voting microservices: localhost:5100/api/v1/resources/votes/all 
	•BFF microservices: localhost:5200/recent

Rss feeds provided by the BFFF Microservices

The 25 most recent posts to any community

http://localhost:5200/recent

The 25 most recent posts to a particular community

http://localhost:5200/<string>/<int> 
http://localhost:5200/school/25 

Top 25 posts to any community, sorted by score

http://localhost:5200/score 

The top 25 posts to a particular community, sorted by score

http://localhost:5200/score/<string>
http://localhost:5200/score/school

The hot 25 posts to any community, ranked using Reddit hot ranking algorithm

http://localhost:5200/hot 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages