Nanny7 Claude Sonnet 4.5 commited on
Commit
e27028f
Β·
1 Parent(s): 32b99ac

feat: initial Phase 4 backend deployment

Browse files

- Latest Phase 4 backend code
- JWT authentication with default secret
- PostgreSQL database support
- RESTful API with documentation
- AI-powered features ready

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Files changed (2) hide show
  1. README.md +23 -3
  2. src/core/config.py +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Todo App Backend
3
- emoji: πŸ“
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: docker
@@ -10,4 +10,24 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- FastAPI backend with AI integration.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Todo Backend - Phase IV
3
+ emoji: πŸš€
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: docker
 
10
  license: mit
11
  ---
12
 
13
+ # Todo Backend - Phase IV
14
+
15
+ FastAPI backend with AI-powered task management.
16
+
17
+ ## Features
18
+
19
+ - βœ… JWT Authentication
20
+ - βœ… RESTful API
21
+ - βœ… PostgreSQL Database
22
+ - βœ… AI Chatbot Integration
23
+ - βœ… Hybrid NLP Engine
24
+
25
+ ## Environment
26
+
27
+ Variables configured in Space Settings.
28
+
29
+ ## API Endpoints
30
+
31
+ - `/health` - Health check
32
+ - `/docs` - Interactive API documentation
33
+ - `/api/` - REST API
src/core/config.py CHANGED
@@ -24,8 +24,8 @@ class Settings(BaseSettings):
24
  # Database Configuration
25
  # ========================================
26
  database_url: str = Field(
27
- default='sqlite:///./todo_app.db',
28
- description='Database connection string (defaults to SQLite for HuggingFace Spaces)',
29
  )
30
 
31
  # ========================================
 
24
  # Database Configuration
25
  # ========================================
26
  database_url: str = Field(
27
+ default='postgresql+psycopg://todoapp:todoapp_password@localhost:5432/todoapp',
28
+ description='PostgreSQL connection string',
29
  )
30
 
31
  # ========================================