chore: remove vibe-coding artifacts from tracking, sync notes and obsidian config
- Untrack .claude/launch.json (Claude Code config) - Add .claude/, .mcp.json, CLAUDE.md, and AI-generated CSVs to .gitignore - Add _notes/ vault (architecture, API, tasks, bugs, infra docs) - Add .obsidian/ plugin/vault config (workspace state excluded) - Sync CHANGELOG.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
67
_notes/09 - Projects/Backend - Django.md
Normal file
67
_notes/09 - Projects/Backend - Django.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# Backend — Django API
|
||||
|
||||
**API Base URL (UAT):** `https://uat.eventifyplus.com/api/`
|
||||
**API Base URL (Prod):** `https://prod.eventifyplus.com/api`
|
||||
**Local Path:** `/Users/bshtechnologies/Documents/eventify_backend/`
|
||||
**SSH Access:** `ssh eventify` (see [[10 - Infrastructure/Server & Docker]])
|
||||
|
||||
---
|
||||
|
||||
## Tech Stack
|
||||
|
||||
| Layer | Technology |
|
||||
|-------|-----------|
|
||||
| Framework | Django >= 4.2 |
|
||||
| Language | Python |
|
||||
| Image Processing | Pillow |
|
||||
| Database | Configured via env vars |
|
||||
| API Docs | `API_Documentation.md` in project root |
|
||||
|
||||
## Django Apps / Modules
|
||||
|
||||
| Module | Purpose |
|
||||
|--------|---------|
|
||||
| `accounts` | User management, authentication |
|
||||
| `events` | Event CRUD, event types, event images |
|
||||
| `bookings` | Event booking system |
|
||||
| `reviews` | User reviews for events |
|
||||
| `ledger` | Financial / points ledger |
|
||||
| `banking_operations` | Payment & banking |
|
||||
| `eventify_logger` | Logging infrastructure |
|
||||
| `gamification` | EP, RP, achievements, leaderboard |
|
||||
|
||||
## Models (Key)
|
||||
- **Custom User** — extended Django user model
|
||||
- **Event** — core event entity
|
||||
- **EventType** — event categories
|
||||
- **EventImages** — media for events
|
||||
- **Booking** — event reservations
|
||||
|
||||
## Environment Variables
|
||||
```
|
||||
DJANGO_SECRET_KEY=replace-me
|
||||
DJANGO_DEBUG=False
|
||||
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
```
|
||||
|
||||
## Accessing the Server
|
||||
|
||||
```bash
|
||||
ssh eventify
|
||||
# connects to: ubuntu@ec2-174-129-72-160.compute-1.amazonaws.com
|
||||
# key: ~/.ssh/eventify_keys_21_03_2026.pem
|
||||
```
|
||||
|
||||
## API Documentation
|
||||
Full endpoint reference: `eventify_backend/API_Documentation.md`
|
||||
|
||||
See also: [[04 - API & Backend/API Notes]]
|
||||
|
||||
## Notes
|
||||
|
||||
## Related
|
||||
- [[App - Web Frontend]]
|
||||
- [[Admin - Command Center]]
|
||||
- [[Partner Portal]]
|
||||
- [[Mobile - Flutter]]
|
||||
- [[10 - Infrastructure/Server & Docker]]
|
||||
Reference in New Issue
Block a user