Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astarell/bloggy
A pet-project representing a simple website for writing articles and sharing them among other users
https://github.com/astarell/bloggy
hibernate-orm java oauth2 postgresql-database spring-boot spring-data-jpa spring-mvc spring-security thymeleaf-template-engine
Last synced: 26 days ago
JSON representation
A pet-project representing a simple website for writing articles and sharing them among other users
- Host: GitHub
- URL: https://github.com/astarell/bloggy
- Owner: Astarell
- Created: 2024-06-30T14:33:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T15:21:40.000Z (4 months ago)
- Last Synced: 2024-10-12T02:04:04.869Z (26 days ago)
- Topics: hibernate-orm, java, oauth2, postgresql-database, spring-boot, spring-data-jpa, spring-mvc, spring-security, thymeleaf-template-engine
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bloggy application
This is a simple pet-project that demonstrates basic skills in working with several major Java developer frameworks.
It is a website where users can publish their own articles of small content, share any interesting information and find one that will be useful to them.
Although the project does not stand out for the special beauty of the user interface, it took a lot of time to make it at least look good, which Bootstrap helped a lot.
Technologies:
- Spring Framework: Spring Boot, Spring Core, Spring Data JPA, Spring Security
- Maven
- Hibernate ORM
- PostgreSQL
- Web template engine ‘Thymeleaf’
- Bootstrap## How to run locally
Create the 'application.properties' file and set the following configuration.Common settings:
- server.portFor the OAuth2 should set (there are still shortcomings, fixes are required):
- GitHub client-id
- GitHub client-secret
- GitHub redirect-uri
- Change the part of the custom reference in templates/auth-related/user-login.html and the 'authorizationEndpoint' in SecurityConfigFor the Spring Data JPA set :
- spring.datasource.driver-class-name
- spring.datasource.url
- spring.datasource.username
- spring.datasource.password
- spring.jpa.hibernate.ddl-auto=update (or any other needed option)## Short overview
### The basics of the website
![BloggyMain](https://github.com/Astarell/Bloggy/assets/111741095/c8ead753-c43f-47e3-9ac7-400b60f6c500)
![BloggyMain](https://github.com/Astarell/Bloggy/assets/111741095/c0bd3f99-938d-4a89-8285-f4ccde6f9e3c)
![BloggyMain](https://github.com/Astarell/Bloggy/assets/111741095/c910b8c6-9c41-4f8a-b143-8b1cb829bc31)
### The database relationships schema
![The relationships schema](https://github.com/Astarell/Bloggy/assets/111741095/c2a29e86-a55c-4660-b056-0583040a1562)