Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 825 Bytes

File metadata and controls

25 lines (22 loc) · 825 Bytes

Adding Projections to a Hot Chocolate 13 GraphQL API

YouTube

Getting Started

  1. Generate a self-signed certificate.
    openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.crt -subj "/CN=localhost" -addext "subjectAltName=DNS:localhost,DNS:api"
    openssl pkcs12 -export -in localhost.crt -inkey localhost.key -out localhost.pfx -name "Adding Projections to a Hot Chocolate 13 GraphQL API"
  2. Import the self-signed certificate.
    certutil -f -user -importpfx Root localhost.pfx
  3. Add the line below to the hosts file.
    127.0.0.1 api
    
  4. Start the services.
    docker compose up --build