GraphQL API to log various drinks
- Clone the repo
- Copy
.env.sample
, rename to.env
and populate variables - Add the development domain to your local hostfile
- Generate dev certificates
-
using mkcert, install the root CA certificate:
mkcert -install
-
Install certs in
certs
directory:mkcert -cert-file ./certs/caCert.pem -key-file ./certs/caPrivkey.pem <dev domain>
Note: Cert file must be named
caCert.pem
, and key file must be namedcaPrivkey.pem
.
-
- Start the server
docker compose up
Note: This project uses docker-nginx-certbot to generate certificates. Please review the documentation on advanced usage as it relates to local development.