Skip to content

User Newsfeed Microservice for a Social N/w App Demonstration.

Notifications You must be signed in to change notification settings

banerjee-ronitb/newsfeed-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Networking App Demonstration

Description

This is an effort to demonstrate a social networking application that has users, followers, posts and feeds. This repository is built to handle user follower and following related functionalities.

Newsfeed Microservice

This service showcases Spring Boot integration with Apache Cassandra database and Apache Kafka.

  • User should send access token in Authorization header to access the APIs
  • Newsfeed service consumes an event on every post creation
  • FeedGenerator service updates the feeds of followers/friends.
  • It queries the followers by email id, which is part of event payload.
  • Interservice communication is authenticated and authorized with OKTA Client Credentials Flow

Getting Started

Follow the steps below:

🖐 Requirements

  • Java 11
  • Maven 3.6.x
  • OKTA developer account

⏳ Installation

This application uses maven to build. Refer to Installing Maven to install maven.

Step 1: mvn clean install
Step 2: mvn spring-boot:run

Roadmap

Add an additional repository to showcase deployment using Kuberenetes.