8000 Add feature: delete car by Ratsch0k · Pull Request #132 · Ratsch0k/group-car-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add feature: delete car #132

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

Merged
merged 24 commits into from
Mar 28, 2022
Merged

Add feature: delete car #132

merged 24 commits into from
Mar 28, 2022

Conversation

Ratsch0k
Copy link
Owner

No description provided.

Ratsch0k and others added 24 commits December 23, 2021 00:16
New endpoint: `/versions.json`

Returns object which contains (for now) one field which is the current version of the backend.
* Added new endpoint to change password

* Small improvements in logging

* Added first prototype for an authentication service

* Added utility function to create a router for handling validations

* Added missing properties to db config which could lead to a broken database configuration

* Changed UserNotFoundError to also accept username

* Added findByUsername and findById to UserRepository

* Added utility function to bind arguments to debug logging functions

* Adapt to name change of bcrypt to auth

* Added default environment vars to db.yml

* Added .env to dockerignore and added empty .env to docker image

* Added email to Express.User

* Small changes to Database class

* Changed convertUserToJWTPayload to accept UserDto

* Added checkPassword and changePassword methods to UserService

* Added service.ts in which common types for all services are defined

* Added index file for auth folder

* Improved SignUpController to use async/await

* Aggregated validators for user properties into own file

* Removed link from docker-compose.dev.yml to tmp folder of host

* Changed default port to 8000

* Changed test database to be groupcarapitest

* Made deletedAt in Express.User optional

* Added test utility function for easier integration test setup

* Fixed incorrect handling of transaction in signUpController
* Extracted path parameters into own general components in openapi specification

* Added openapi specification of new endpoint to openapi.yaml

* Added better specification of possible errors for new endpoint

* Refactored validators to be more consistent

* Refactored how custom validators are implemented

* Added repository method to delete a car

* Small fixes of the documentation of MembershipService.findById

* Added Delete action to GroupNotificationService

* Added service method to delete a car

* Completed new endpoint to delete a car

* Added unit tests

* Added integration tests

* Added detailed documentation to MembershipService.findById

* Fixed incorrect error documentation of new endpoint

* Cleaned some code

* Fixed codefactor issues

* v0.9.0-alpha.0

* Disable x-powered-by

* v0.9.0-alpha.1
# Conflicts:
#	app/routes/api/user/settings/change-password/index.ts
#	app/routes/auth/signUp/sign-up-validator.ts
#	app/validators/create-validation-router.ts
#	app/validators/user-id-validator.ts
#	app/validators/user-validators.ts
#	package.json
#	static/versions.json
@Ratsch0k Ratsch0k merged commit 2054060 into master Mar 28, 2022
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
0