Git Product home page Git Product logo

journalproject's Introduction

JournalProject

Sample Journal demo project using Spring Boot Microservices

This project contains two spring boot microservices i.e., user and journal service. User service is for user management and Journal service is for journaling user events.

User service contains: • Includes functionalities for user registration, user details retrieval, updating and deleting user information and managing user roles. • Exposed RESTful API endpoints for CRUD operations. • Integrated Spring Security for role-based authentication. • Publishes user events to a Kafka topic named “user-events” for journaling.

Journal service contains: • Consumed events from user-events Kafka topic, log a message and record them in h2 dB. • Implemented RESTful API endpoints to retrieve journals. • Incorporate role-based access control to retrieve journals.

For documentation swagger is integrated.

Steps to start the service:

  1. Start zookeeper
  2. Start Kafka
  3. Start user service
  4. Start jounal service

For user creation and genration of token endpoint authorization not required, for other endpoints ADMIN role required. For any queries please check swagger UserService: http://localhost:8181/swagger-ui/index.html JournalService: http://localhost:8282/swagger-ui/index.html

journalproject's People

Contributors

karthikb360 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.