Skip to content

Commit

Permalink
Merge pull request #2 from eltonlaice/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
eltonlaice authored Oct 1, 2024
2 parents 4ec0705 + d97eb9d commit bdb007a
Show file tree
Hide file tree
Showing 16 changed files with 99 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OpenMRS Configuration
OPENMRS_BASE_URL=http://localhost:8080/openmrs
OPENMRS_USERNAME=admin
OPENMRS_PASSWORD=Admin123

# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here

# Flask Configuration
FLASK_ENV=development
FLASK_DEBUG=True
SECRET_KEY=your_secret_key_here

# MongoDB Configuration
MONGO_URI=mongodb://localhost:27017/openmrs_smart_ia
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.env
# Python
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.pyc

# Virtual Environment
venv/
env/
.venv/

# Flask
instance/
.webassets-cache

# Logs
*.log

# Database
*.db
*.sqlite3

# Environment variables
.env
.env.*

# IDE-specific files
.vscode/
.idea/
*.swp
*.swo

# OS-specific files
.DS_Store
Thumbs.db

# Temporary files
*.tmp
*.bak
*.swp

# Dependency directories
node_modules/

# Distribution / packaging
dist/
build/
*.egg-info/

# Jupyter Notebook
.ipynb_checkpoints

# pytest
.pytest_cache/

# Coverage reports
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Elton Laice

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file added app/__init__.py
Empty file.
Empty file added app/models.py
Empty file.
Empty file added app/routes.py
Empty file.
Empty file added app/services/__init__.py
Empty file.
Empty file added app/services/openai_service.py
Empty file.
Empty file added app/services/openmrs_service.py
Empty file.
Empty file added app/utils/__init__.py
Empty file.
Empty file added app/utils/helpers.py
Empty file.
Empty file added requirements.txt
Empty file.
Empty file added run.py
Empty file.
Empty file added tests/__init__.py
Empty file.
Empty file added tests/test_routes.py
Empty file.
Empty file added tests/test_services.py
Empty file.

0 comments on commit bdb007a

Please sign in to comment.