A simple service to ask for user confirmation before adding them to a mailing list. Currently, only Google Groups is supported.
-
Populate
.env
with your configuration. An example is provided in.env.example
. The default configuration is suitable for development.cp .env.example .env
-
Obtain a Google Cloud Service Account key and save it as
./secrets/google-service-account.json
.- Create a Google Cloud project.
- Create a service account under the project with no roles.
- In the Google Admin console, give "Groups Editor" role to the service account.
- Enable the Admin SDK API in the Google Cloud project.
-
Start the service.
docker compose up --build
Now, you can view the API spec at http://localhost:8000/docs. If you are using the default SMTP configuration, you can view outgoing emails at http://localhost:8025.