azure-samples / azure-fastapi-postgres-flexible-aca Goto Github PK
View Code? Open in Web Editor NEWWeb app using Python FastAPI backend, set up for deployment to Azure Container Apps with Azure PostgreSQL Flexible Server.
License: MIT License
Web app using Python FastAPI backend, set up for deployment to Azure Container Apps with Azure PostgreSQL Flexible Server.
License: MIT License
In order to protect and secure Microsoft, private
or internal
repositories in GitHub for Open Source which are not related to open source projects or require collaboration with 3rd parties (customer, partners, etc.) must be migrated to GitHub inside Microsoft a.k.a GitHub Enterprise Cloud with Enterprise Managed User (GHEC EMU).
✍️ Please RSVP to opt-in or opt-out of the migration to GitHub inside Microsoft.
❗Only users with admin
permission in the repository are allowed to respond. Failure to provide a response will result to your repository getting automatically archived.🔒
Reply with a comment on this issue containing one of the following optin
or optout
command options below.
✅ Opt-in to migrate
@gimsvc optin --date <target_migration_date in mm-dd-yyyy format>
Example:
@gimsvc optin --date 03-15-2023
OR
❌ Opt-out of migration
@gimsvc optout --reason <staging|collaboration|delete|other>
Example:
@gimsvc optout --reason staging
Options:
staging
: This repository will ship as Open Source or gopublic
collaboration
: Used for external or 3rd party collaboration with customers, partners, suppliers, etc.delete
: This repository will be deleted because it is no longer needed.other
: Other reasons not specified
Describe the issue:
When test Running tests
with fastapi templates on Linux and Mac, run python3 -m pytest
, get error as follow:
Repro Steps:
python3 -m pip install -r requirements-dev.in
playwright install --with-deps
python3 -m pytest
Environment:
Expected behavior:
Running python3 -m pytest
with flask templates can pass on Linux and Mac.
@pamelafox for notification.
Describe the issue:
When test Running Locally
with fastapi templates on CodeSpace, run python3 -m gunicorn fastapi_app:app -c src/gunicorn.conf.py
, Web page loading exception:
Repro Steps:
python3 -m gunicorn fastapi_app:app -c src/gunicorn.conf.py
.Environment:
Expected behavior:
Running python3 -m gunicorn fastapi_app:app -c src/gunicorn.conf.py
with flask templates, the web page can load normally on CodeSpace.
@pamelafox for notification.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
NA
NA
NA
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
NA
In all of the other Relecloud Python web azd templates, the directory /src contains the source code for the application. This azd template stores its source code for the application in the /demo_code folder. I recommend changing that for consistency.
Thanks! We'll be in touch soon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.