{"repo":"devopsinsiders/PyTodoBackendMonolith","free":true,"listed":false,"github":"https://github.com/devopsinsiders/PyTodoBackendMonolith","clone":"git clone https://github.com/devopsinsiders/PyTodoBackendMonolith.git","description":"🐍 PyTodoBackendMonolith 💼repository serves as the backbone for the Todo application's backend, written in Python, embracing a monolithic architecture. It orchestrates data storage, executes business logic, and exposes unified API endpoints to the frontend. With a singular focus, it encapsulates the entire backend functionality,","language":"Python","stars":51,"topics":["api","monolithic","python","todoapp"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Running the Python Application on Azure VM This guide will walk you through the process running a Python application using FastAPI, which interacts with a Microsoft SQL Server database using PyODBC. Prerequisites Before getting started, make sure you have the following prerequisites installed on your system: - source image reference = { publisher = \"Canonical\" offer = \"0001-com-ubuntu-server-focal\" sku = \"20 04-lts\" version = \"latest\" } - Python - pip Step 1: Clone the Repository Clone the application's source code from your version control system or download it as a zip archive and extract it to your local machine. Step 2: Update Connection String Edit the app.py file to update the connection string variable with the appropriate connection details for your SQL Server database. ODBC wali connection string use karna hai.. Step 3: Run Below Commands to make the application running To Run the Application, open a terminal, navigate to the project directory, and run the following command: Step 4: Access the Application Your Python application is now running. You can access it by opening a web browser or sending HTTP requests to http://localhost:8000 or by using VM's Public IP. API Endpoints - /api/ : To Create required Tables (GET) - /api/tasks : List all tasks (GET) - /api/tasks/{task id} : Retrieve a single task by ID (GET) - /api/tasks : Create a new task (POST) Request Body - { title: '', description: '' } - /api/tasks/{task id} : Update an existing task by ID (PUT) - /api/tas","default_branch":null,"files":null,"tree":[],"storefront":"/r/devopsinsiders","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/devopsinsiders/PyTodoBackendMonolith/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}