Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.0.0 #35

Merged
merged 58 commits into from
Nov 8, 2024
Merged

Release v1.0.0 #35

merged 58 commits into from
Nov 8, 2024

Conversation

Village-GG-Water
Copy link
Collaborator

No description provided.

cocoquiet and others added 30 commits August 9, 2024 16:39
* Feat: Add User, Admin Model

* Feat: Change Model attributes & Add Repositories(User, Admin)

* Feat: Add Services(User, Admin)

* Feat: Add Controllers(User, Admin)
* Fix: Change User table name

* Feat: Add snake case strategy
* Feat: Add History Model

* fix: History model sturcture

* feat: Add HistoryService

* feat: Add HistoryRepository

* feat: Add HistoryController

* fix: History model structure simplify

* fix: HistoryModel column, HistoryService

* fix: History model annotation simplify

* fix: delete API simplify
* Rename: Group test file to ~/http

* Fix: Add CASACADE to user column
* Feat: Add Admin attribute(description)

* Feat: Ignore user json attribute

* Feat: Add created_at, updated_at
* Feat: Add attribute(created_at, updated_at)

* Fix: Add id exists exception
* Added Password controller

* Added Password entity

* Added Password repository

* Added Password service

* Updated changes in Password.java

Used Spring Data JPA annotations to automatically manage time-related properties - createdAt and updatedAt instead of manually setting them with @PrePersist and @PreUpdate methods.
* feat: add post model

* fix: post model realation

* fix: post model relation column

* feat: add PostRepository

* feat: add PostController

* feat: add PostService

* fix: simplify postService getPostById
* Create ci.yml

* fix Post.java

delete comments
cache 경로 수정
* feat: add post model

* fix: post model realation

* fix: post model relation column

* feat: add PostRepository

* feat: add PostController

* feat: add PostService

* fix: simplify postService getPostById

* fix: modify History Column reserved word, code style

* fix: explicit code for DI

* feat: add form validation

* feat: add sbb dependency

* fix: delete unnecessary annotation, change column name
* Update Post.java

The code runs great and didn't needed lot of changes. Therefore i have tried my best to improve the performance and error handling of the code.

- Removed "comments" field as not needed anymore
- Added @notblank and @NotNull annotations to ensure that title, content, and user are always provided.
- Added fetch = FetchType.LAZY to the User relationship to improve performance by loading user data only when needed.

* Update PostRepository.java

- Added a method findByTag to retrieve posts by tag directly from the database (Improve Memory efficiency)
The method helps further in PostService.java code.

* Update PostService.java

- Using findByTag method directly in getPostsByTag to improve efficiency.
- Added a custom exception (RuntimeException) to handle cases where a post is not found.
- Added @transactional annotation to updatePost and deletePost methods to ensure proper data management.

* fix: edit deprecated annotation in Post.java

---------

Co-authored-by: LAPLACE4A <[email protected]>
* feat: add dependency spring security

* feat: add DTO for password

* feat: add spring security, improve declare DI
* fix: explicit DI

* fix: user-password entity relation

* feat: add anootation enablewebsecurity

* feat: customized spring security Userdetails

* fix: id column and add  jsonignore annotation
* feat: signup,login modify user controller, service

* feat: signup, login security config

* H2 database (#25)

* Test: Change database

* feat: login, JWT config

---------

Co-authored-by: JiSeong Lee <[email protected]>

* Update ci.yml

.env 파일 추가하도록 설정

---------

Co-authored-by: JiSeong Lee <[email protected]>
Co-authored-by: Yeonwoo Sea <[email protected]>
* fix: cors settings, dto field name

* fix: cors setting by pattern
@Village-GG-Water Village-GG-Water merged commit de3e259 into main Nov 8, 2024
2 checks passed
@Village-GG-Water Village-GG-Water deleted the release branch November 8, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants