Spaces:
Sleeping
Sleeping
Commit ·
3eb72ad
1
Parent(s): 4294af5
reqs fix
Browse files- create_ums_structure.sh +0 -22
- requirements.txt +15 -5
create_ums_structure.sh
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# Base directory (change this as needed)
|
| 4 |
-
BASE_DIR="bookmyservice-ums/app"
|
| 5 |
-
|
| 6 |
-
# Create folder structure
|
| 7 |
-
mkdir -p $BASE_DIR/models
|
| 8 |
-
mkdir -p $BASE_DIR/schemas
|
| 9 |
-
mkdir -p $BASE_DIR/routers
|
| 10 |
-
mkdir -p $BASE_DIR/services
|
| 11 |
-
mkdir -p $BASE_DIR/repositories
|
| 12 |
-
mkdir -p $BASE_DIR/utils
|
| 13 |
-
mkdir -p $BASE_DIR/constants
|
| 14 |
-
mkdir -p $BASE_DIR/dependencies
|
| 15 |
-
mkdir -p $BASE_DIR/tests
|
| 16 |
-
|
| 17 |
-
# Add __init__.py to make each a Python package
|
| 18 |
-
for dir in models schemas routers services repositories utils constants dependencies tests; do
|
| 19 |
-
touch "$BASE_DIR/$dir/__init__.py"
|
| 20 |
-
done
|
| 21 |
-
|
| 22 |
-
echo "📁 Folder structure for User Management Service created under $BASE_DIR"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1,9 +1,19 @@
|
|
| 1 |
-
|
| 2 |
fastapi
|
| 3 |
-
uvicorn
|
| 4 |
-
python-jose
|
| 5 |
pydantic
|
| 6 |
-
twilio
|
| 7 |
email-validator
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
motor
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
fastapi
|
| 2 |
+
uvicorn[standard]
|
|
|
|
| 3 |
pydantic
|
|
|
|
| 4 |
email-validator
|
| 5 |
+
python-jose[cryptography] # JWT encoding/decoding
|
| 6 |
+
python-dotenv # Environment variable support
|
| 7 |
+
|
| 8 |
+
# MongoDB async driver
|
| 9 |
motor
|
| 10 |
+
|
| 11 |
+
# Redis client
|
| 12 |
+
redis
|
| 13 |
+
|
| 14 |
+
# Twilio for OTP SMS
|
| 15 |
+
twilio
|
| 16 |
+
|
| 17 |
+
# Optional useful utilities (highly recommended)
|
| 18 |
+
httpx # async HTTP client (e.g., for calling 3rd party APIs)
|
| 19 |
+
passlib[bcrypt] # password hashing (if needed)
|