Asma-yaseen commited on
Commit
adb6862
·
verified ·
1 Parent(s): f73b927

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +38 -10
README.md CHANGED
@@ -1,10 +1,38 @@
1
- ---
2
- title: Evolution Todo Api
3
- emoji: 🐨
4
- colorFrom: indigo
5
- colorTo: blue
6
- sdk: docker
7
- pinned: false
8
- ---
9
-
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Evolution Todo API
3
+ emoji:
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ license: mit
9
+ app_port: 7860
10
+ ---
11
+
12
+ # Evolution Todo API
13
+
14
+ RESTful API backend for the Evolution Todo application.
15
+
16
+ ## Features
17
+
18
+ - User Authentication (JWT)
19
+ - Task CRUD Operations
20
+ - PostgreSQL Database (Neon)
21
+ - FastAPI Framework
22
+
23
+ ## API Endpoints
24
+
25
+ - `GET /` - Health check
26
+ - `POST /auth/signup` - User registration
27
+ - `POST /auth/signin` - User login
28
+ - `GET /users/{user_id}/tasks` - Get user tasks
29
+ - `POST /users/{user_id}/tasks` - Create task
30
+ - `PUT /users/{user_id}/tasks/{task_id}` - Update task
31
+ - `DELETE /users/{user_id}/tasks/{task_id}` - Delete task
32
+
33
+ ## Environment Variables
34
+
35
+ Set these in Hugging Face Space secrets:
36
+ - `DATABASE_URL` - Neon PostgreSQL connection string
37
+ - `JWT_SECRET` - Secret key for JWT tokens
38
+ - `CORS_ORIGINS` - Allowed origins (comma-separated)