1.2
The main changes of this update are upgrading Nest from v10 to v11, and some more improvements that have been grouped in a new section: Further Improvements. The reason is to avoid bloating the Improvements/Tips module too much, as it is considered an early module. Changes are as follows:
Version upgrades
NestJS: v10 to v11
Several other packages
New improvements
Sending emails: Send an email to the user when the account is created
Health checks: Check the health of the database
Cron jobs: Regularly check for old soft-deleted users and hard-delete them
Other changes
Explain that
git config core.autocrlf
should be set back to trueFix: set prettier as default formatter in settings.json
Disable some troublesome strictness options:
strictNullChecks
option in tsconfigSeveral rules in ESLint file
Prefix
bootstrap()
call with void to explicitly not await itIn Insomnia:
Rename
baseUrl
tohost
Create a variable for the
token
Use again the function
extractFromText()
to encapsulate extraction with regexUse
App
type forapp
andserver
in e2e test fileUse single command to stop and remove docker container for test database
Relocate More validations lesson to Further improvements section, and show example using standard
@IsAlpha()
validator withlocale
Last updated