The project uses serverless-dotenv-plugin
to configure the application.
NOTE: For local development (npm run sls-offline
), it'll try to read configurations from ./config/.env.local
file.
The following is a sample configuration file:
DOMAIN=<domain>
AWS_S3_BUCKET_NAME=brandi-local
AWS_CERT_ARN=<aws-acm-certificate-arn>
GOOGLE_SEARCH_API_KEY=<google-search-key>
GOOGLE_SEARCH_ENGINE_ID=<google-search-id>
MONGODB_URI=mongodb://localhost:27017/brandi
REMOVE_BG_API_KEY=<remove-bg-key>
RITEKIT_API_BASE_URL=https://api.ritekit.com/
RITEKIT_API_KEY=<ritekit-api-key>
JWT_SIGNING_KEY=<jwt-signing-key>