|
|
1 ay önce | |
|---|---|---|
| Procfile | 1 ay önce | |
| README.md | 1 ay önce | |
| app.py | 1 ay önce | |
| requirements.txt | 1 ay önce |
A simple Flask application.
.
├── .github/workflows/ # CI workflow
├── .gitignore
├── Procfile # For Heroku-style deployment
├── README.md
├── app.py # Application entry point
└── requirements.txt # Python dependencies
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
python app.py
The app will be available at http://localhost:5000.
| Method | Path | Description |
|---|---|---|
| GET | / |
Returns a greeting |
| GET | /health |
Health check endpoint |
This app includes a Procfile for deployment on platforms like Heroku:
web: gunicorn app:app
MIT