Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisskirchenj/codesharingplatform
Spring Boot 5 functional REST-Services based platform for code sharing over the internet.
https://github.com/wisskirchenj/codesharingplatform
css h2-database highlight java javascript jpa-hibernate spring-mvc thymeleaf
Last synced: 25 days ago
JSON representation
Spring Boot 5 functional REST-Services based platform for code sharing over the internet.
- Host: GitHub
- URL: https://github.com/wisskirchenj/codesharingplatform
- Owner: wisskirchenj
- Created: 2022-04-09T12:52:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T19:08:33.000Z (over 1 year ago)
- Last Synced: 2023-07-29T20:21:55.886Z (over 1 year ago)
- Topics: css, h2-database, highlight, java, javascript, jpa-hibernate, spring-mvc, thymeleaf
- Language: Java
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IDEA EDU Course ...
Implemented in the Java Backend Developer Track of hyperskill.org's JetBrain Academy.
https://hyperskill.org/projects/130Project goal (or rather my interpretation of it) is to implement a Spring boot application with functional endpoints.
The application will serve as a platform for code sharing between developers over the web.
The Code Sharing Platform will simultaneously provide a web interface delivering text/html and an API interface
providing application/json content-type. The Html pages are rendered by use of Thymeleaf template engine
together with templates and static Css and JS code. The web client posted code snippets are stored in
an H2 file database.Purpose of doing this project, is getting more familiar with CSS / html frontends and practising Spring boot
applications - experimenting with the new functional Spring 5 routing and handling techniques.As build tool gradle is used this time to get to know this tool better.
# Project was completed on 30.04.22.
## Repository Contents
Sources for all project tasks (5 stages) with tests, static contents HTML, JS, CSS and configurations.
## Progress
09.04.22 Project started. IDEA-setup and first repo.
11.04.22 Stage 1 completed with functional MVC endpoints, html and json type GET of a fixed code snippet.
18.04.22 Stage 2 completed with frontend using thymeleaf templates with RenderingResponse, JS, CSS and HTML forms.
19.04.22 Stage 3 completed, routing extended, thymeleaf with collections, more endpoints
22.04.22 Stage 4 completed, highlight.js added for html rendering and H2 database store implemented, with a Spring PagingAndSortingRepository
30.04.22 Final Stage 5 completed, store snippets by uuid. Secret snippets added with restriction on views
and/or time in seconds. Conditional thymeleaf rendering.