-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from hussaino03/dev
setup docs
- Loading branch information
Showing
5 changed files
with
94 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,34 @@ | ||
# Client environment variables | ||
REACT_APP_GOOGLE_CLIENT_ID=<your google client id> | ||
REACT_APP_PROD=http://localhost:3001/api | ||
# Required Configuration | ||
# --------------------- | ||
# MongoDB Configuration | ||
MONGO_INITDB_DATABASE=questlog_test | ||
MONGODB_URI=mongodb://mongodb:27017/questlog_test | ||
|
||
# Server environment variables | ||
# Essential Client Variables | ||
REACT_APP_GOOGLE_CLIENT_ID=test_google_client_id_for_development.apps.googleusercontent.com | ||
REACT_APP_PROD=http://localhost:3001/api | ||
|
||
# Essential Server Variables | ||
CLIENT=http://localhost:3000 | ||
MONGODB_URI=<mongodb uri string> | ||
EMAIL_USER=[email protected] for feedback form | ||
EMAIL_APP_PASSWORD=your_app_specific_password | ||
SESSION_SECRET=your session secret | ||
GOOGLE_CLIENT_ID=your client id from google cloud console | ||
GOOGLE_CLIENT_SECRET=your oauth password | ||
SESSION_SECRET=development_session_secret_123 | ||
GOOGLE_CLIENT_ID=test_google_client_id_for_development.apps.googleusercontent.com | ||
GOOGLE_CLIENT_SECRET=test_google_secret_for_development | ||
|
||
# Optional Configuration | ||
# --------------------- | ||
# Email Integration | ||
EMAIL_USER=[email protected] | ||
EMAIL_APP_PASSWORD=test_password_123 | ||
|
||
TODOIST_CLIENT_ID=your client id | ||
TODOIST_CLIENT_SECRET=your client secret | ||
# Todoist Integration | ||
TODOIST_CLIENT_ID=test_todoist_id_123 | ||
TODOIST_CLIENT_SECRET=test_todoist_secret_123 | ||
TODOIST_REDIRECT_URL=http://localhost:3001/api/auth/todoist/callback | ||
TICKTICK_CLIENT_ID=your client id | ||
TICKTICK_CLIENT_SECRET=your client secret | ||
|
||
# TickTick Integration | ||
TICKTICK_CLIENT_ID=test_ticktick_id_123 | ||
TICKTICK_CLIENT_SECRET=test_ticktick_secret_123 | ||
TICKTICK_REDIRECT_URL=http://localhost:3001/api/auth/ticktick/callback | ||
|
||
GEMINI_API_KEY=your model key | ||
# AI Integration | ||
GEMINI_API_KEY=test_gemini_key_123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
db = db.getSiblingDB('questlog_test'); | ||
|
||
// Minimal test user for development | ||
db.users.insertMany([ | ||
{ | ||
googleId: 'test_123', | ||
email: '[email protected]', | ||
name: 'Test User', | ||
picture: 'https://via.placeholder.com/150', | ||
createdAt: new Date() | ||
} | ||
]); |