Skip to content

SalipA/java-level-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

JavaRush level widget

Java Spring

About Project

JavaRush is a popular platform for java learning. A high user profile level is a source of pride for many students. Of course it`s important for me too. This repository contains a backend for the widget service, which allows you to get a widget like this by user id.

img.png

About Stack

Technologies were used:

  • Java
  • Spring Boot
  • Maven

About Architecture

  • One main-service

About Functionality

  • Main-service

    • service process the core business logic and combines the work of two main components:
      • WebParser : get information about user`s level and rating
      • CacheHandler: organize data caching: saving, initializing and checking the relevance of data. The cache is stored in files in a directory "cache" inside the docker-container and becomes irrelevant 1 day after the first request

About API

  • GET /widget/{userId}

userId - is user profile ID in JavaRush

About Run

Docker

Use Maven for packaging and just docker-compose up it! ๐Ÿณ

Releases

No releases published

Packages

No packages published