Code Monkey home page Code Monkey logo

streaming-twitter-feed's Introduction

Streaming Twitter Feed

This project implements series of Java microservices that represent backend for Twitter feed

Here are some of the main features of the app:

  • endpoint to add tweets
  • endpoint to get feed(see existing and latest messages, without refreshing page)
  • bot that automatically sending tweets with configurable delay(default - 2000 milliseconds for one tweet)
  • endpoint start, stop, check status and configure bot

Table of Contents

Technologies

The project uses the following technologies and frameworks:

  • Java
  • Spring (Framework, Boot, MVC, Data JPA)
  • Spring WebFlux (for HTTP Streaming)
  • RabbitMQ (to queue messages between Tweet service and Feed)
  • CockroachDB (as database - cluster of 2 nodes)
  • Lombok (for boilerplate reduction)
  • Maven (for project management)
  • Docker (containerization platform)
  • Git (for version control)

Demo

Demonstration of feed page NVIDIA_Share_F5b2IcMkj9

Installation

To run whole project on docker containers, follow these steps:

Have installed Git and Docker. Postman - optional.

  1. Clone the repository:

    git clone https://github.com/YaremaMaksym/streaming-twitter-feed.git
    
  2. Run start up file start.sh (it calls docker-compose.yaml, initialises cockroachdb cluster and creates db):

    • Locate project folder in file explorer.
    • Right-click it and select "Git Bash Here".
    • Run sh start.sh in terminal.
    • Wait until all 5 containers start
  3. Open feed.html in your browser to see existing and latest tweets.

API

streaming-twitter-feed's People

Contributors

yaremamaksym avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.