Skip to content

Commit 95bfe2b

Browse files
Merge pull request #136 from Golden-Eagle07/1-devops-dockerize-django-rest-framework-postgresql-setup-for-local-dev
1 devops dockerize django rest framework postgresql setup for local dev
2 parents 0275fce + 79340bd commit 95bfe2b

83 files changed

Lines changed: 4039 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
HOST=0.0.0.0
2+
PORT=8000
3+
4+
# PostgreSQL Configuration (PostgreSQL 16)
5+
POSTGRES_USER=elephant_admin
6+
POSTGRES_PASSWORD=SuperSecureAndComplexPassword2026!
7+
POSTGRES_DB=elephant_messenger
8+
POSTGRES_PORT=42359
9+
POSTGRES_HOST=127.0.0.1
10+
11+
# JWT
12+
JWT_SECRET=my_super_long_and_secure_secret_key
13+
14+
# OAuth2 Authentication Providers
15+
# Google Developer Console Credentials
16+
GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com
17+
GOOGLE_CLIENT_SECRET=GOCSPX-your_google_client_secret
18+
GOOGLE_REDIRECT_URL=http://localhost:8000/api/auth/google/callback
19+
20+
# GitHub Developer Settings Credentials
21+
GITHUB_CLIENT_ID=ov-your_github_client_id
22+
GITHUB_CLIENT_SECRET=your_github_client_secret
23+
GITHUB_REDIRECT_URL=http://localhost:8000/api/auth/github/callback

.github/ISSUE_TEMPLATE/bug_report.md

.github/ISSUE_TEMPLATE/feature_request.md

.github/PULL_REQUEST_TEMPLATE.md

.github/workflows/backend-ci.yml

Whitespace-only changes.

.github/workflows/frontend-ci.yml

Whitespace-only changes.

.gitignore

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
.DS_Store
2+
Thumbs.db
3+
4+
.vscode/
5+
.idea/
6+
*.swp
7+
*.swo
8+
9+
.env
10+
.env.*
11+
!.env.example
12+
13+
__pycache__/
14+
*.py[cod]
15+
*$py.class
16+
17+
*.so
18+
19+
.venv/
20+
venv/
21+
env/
22+
ENV/
23+
24+
*.log
25+
db.sqlite3
26+
db.sqlite3-journal
27+
28+
backend/media/
29+
backend/staticfiles/
30+
31+
.coverage
32+
.coverage.*
33+
htmlcov/
34+
.pytest_cache/
35+
.mypy_cache/
36+
.ruff_cache/
37+
38+
39+
frontend/node_modules/
40+
41+
frontend/dist/
42+
frontend/.vite/
43+
44+
npm-debug.log*
45+
yarn-debug.log*
46+
pnpm-debug.log*
47+
48+
frontend/.env
49+
frontend/.env.*
50+
!frontend/.env.example
51+
52+
*.tmp
53+
*.temp
54+
.cache/
55+
.parcel-cache/
56+
57+
docker-compose.override.yml
58+
59+
*.local
60+
*.local.json
61+
62+
*.pem
63+
*.key
64+
*.crt
65+
66+
*.bak
67+
*.swp
68+
*.swo
69+
*~

ARCHITECTURE.md

CONTRIBUTING.md

README.md

0 commit comments

Comments
 (0)