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

feat: project crud #12

Merged
merged 29 commits into from
Sep 11, 2023
Merged

feat: project crud #12

merged 29 commits into from
Sep 11, 2023

Conversation

n3wborn
Copy link
Owner

@n3wborn n3wborn commented Sep 6, 2023

No description provided.

@n3wborn n3wborn marked this pull request as ready for review September 11, 2023 20:43
@n3wborn n3wborn merged commit f4dcf17 into dev Sep 11, 2023
4 checks passed
n3wborn added a commit that referenced this pull request Sep 11, 2023
* feat: add exceptions

* ForbiddenException
* NotFoundException
* ProjectManagerException

* feat(helper): add Randomizer

* feat(project): add slug

* add SluggableTrait
* update entity
* add migration

* chore(Makefile): add db drop-create-migrate-fixtures targets

* feat: add Project DTO,Mapper

* feat(helper): add ApiMessages,ApiResponse

* feat: add ProjectController

* feat: add project validator

* fix(ProjectDTO): set nullable slug

A nullable slug is required when creating a new project

* feat(ApiMessages): add project related translations

* feat: add Project helper

* feat(validator): add "not empty" methods

* feat: add Finder

* fix(SluggableTrait): getSlug return type

* feat(BadDataException): add default message, status code

* refac(DTO): set default values

* refac(Helper): set validateRequestResource Project argument not null

* fix(Validator): translate validateKnownEntity exception message

* refac(Controller): use MapRequestPayload for create/update function

* feat: add ExceptionLogger

* feat: add poc template

* feat: add Archiver

* feat: add persister

* feat: add Handler

* refac: improve Finder::get,Handler::HandleGetProject

* refac(ApiMessages): add missing messages and sort

* fix(Helper): generateEditSucccessMessage typo

* fix(Helper): edit/create check

* feat: do not edit/show archived data

close: #11
@n3wborn n3wborn deleted the feat/project-crud branch October 25, 2023 07:18
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.

1 participant