Skip to content

Using react as frontend and spring as backend to create a web service where users can write and share articles with view count on each one.

Notifications You must be signed in to change notification settings

Spectre-ak/spring-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

using react and spring to create a web service where users can write and share articles

The application is hosted on azure app service with Tomcat 9.0

Frontend is simple react which is hosted on the same server inside static files
Backend is spring web with maven

Article creation and view is done through rest APIs using spring.

Each article gets stored as a article object on the server which is used to view them and for avoiding multiple articles with the same name/url a serializable red black tree is used (i could have used an array, but tree will provide better complexities) which stores the article object name/url.

After uploading an article the server responds with the link, with which it can be accessed later.

Views count on each article depends on following
1. Cookies
2. IP and location (Only when cookies are deleted)
3. Browser, OS, Device name (Only when cookies are deleted)

About

Using react as frontend and spring as backend to create a web service where users can write and share articles with view count on each one.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published