Skip to content

bytewavedev/nestjs-typeorm-boilerplate

Repository files navigation

Nestjs Typeorm Boilerplate

migrations

npm run migration:generate --name=initial-db

Resources

Create Public Key and Private Key

#Generate SSL certificates

 #   Generate an RSA private key, of size 2048, and output it to a file named key.pem:

openssl genrsa -out private_key.pem 2048

# It needs be copied&pasted from terminal manually

awk 'NF {sub(/\r/, ""); printf"%s\\n",$0;}' private_key.pem

  #  Extract the public key from the key pair, which can be used in a certificate:

openssl rsa -in private_key.pem -outform PEM -pubout -out public_key.pem

# It needs be copied&pasted from terminal manually

awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' public_key.pem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published