Skip to content

Commit 0235366

Browse files
committed
add env examples
1 parent 0368be6 commit 0235366

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

backend/.env.example

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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=

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "formwise"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = "A FastAPI backend for Formwise, enabling AI-powered form creation with Groq LLM."
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [

frontend/.env.local.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# API URL
2+
NEXT_PUBLIC_API_URL="http://localhost:8000/api"

0 commit comments

Comments
 (0)