|
| 1 | +# Formwise - Environment Configuration Example |
| 2 | + |
| 3 | +# *** MongoDB Configuration *** |
| 4 | +# Provide a valid MongoDB connection string |
| 5 | +# For local development, you can use: mongodb://localhost:27017 |
| 6 | +# For Atlas or other cloud providers, use their provided connection string |
| 7 | +MONGO_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/<database>?retryWrites=true&w=majority |
| 8 | + |
| 9 | +# *** Application Security *** |
| 10 | +# Use a strong, randomly generated secret for JWT |
| 11 | +# Recommendation: Use a tool like `openssl rand -hex 32` to generate |
| 12 | +JWT_SECRET=your_very_long_and_complex_random_secret_key_here |
| 13 | + |
| 14 | +# *** Google OAuth Configuration *** |
| 15 | +# Obtain these from the Google Cloud Console |
| 16 | +# https://console.cloud.google.com/apis/credentials |
| 17 | +GOOGLE_CLIENT_ID=your_google_oauth_client_id.apps.googleusercontent.com |
| 18 | +GOOGLE_CLIENT_SECRET=your_google_oauth_client_secret |
| 19 | + |
| 20 | +# *** Groq API Configuration *** |
| 21 | +# Obtain an API key from https://console.groq.com/keys |
| 22 | +GROQ_API_KEY=your_groq_api_key |
| 23 | + |
| 24 | +# *** LangChain Tracing (Optional) *** |
| 25 | +# Sign up at https://smith.langchain.com |
| 26 | +LANGCHAIN_API_KEY=your_langchain_api_key |
| 27 | +LANGCHAIN_ENDPOINT=https://api.smith.langchain.com |
| 28 | +LANGCHAIN_PROJECT=formwise |
| 29 | +LANGCHAIN_TRACING_V2=true |
| 30 | + |
| 31 | +# *** Observability (Optional) *** |
| 32 | +# Logfire token for additional monitoring |
| 33 | +# Remove or leave blank if not using |
| 34 | +LOGFIRE_TOKEN= |
0 commit comments