https://github.com/abdulkarim1422/gotify-middleware
middleware application for gotify, used to monitor and follow the members' activity
https://github.com/abdulkarim1422/gotify-middleware
fastapi gotify middleware notifications python
Last synced: 10 months ago
JSON representation
middleware application for gotify, used to monitor and follow the members' activity
- Host: GitHub
- URL: https://github.com/abdulkarim1422/gotify-middleware
- Owner: abdulkarim1422
- License: mit
- Created: 2025-01-22T13:23:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T20:19:37.000Z (over 1 year ago)
- Last Synced: 2025-04-02T10:37:31.533Z (about 1 year ago)
- Topics: fastapi, gotify, middleware, notifications, python
- Language: Python
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gotify-middleware
## Setup
To run this project, follow these steps:
### Clone the repository
```bash
git clone https://github.com/abdulkarim1422/gotify-middleware
```
```bash
cd gotify-middleware
```
### Create and activate virtual environment
```bash
python -m venv venv
```
### activate the venv
#### On Windows
```bash
.\venv\Scripts\activate
```
#### On Unix or MacOS
```bash
source venv/bin/activate
```
### Install dependencies
```bash
pip install -r requirements.txt
```
### Migrate db
```bash
alembic revision --autogenerate -m "Initial migration"
```
```bash
alembic upgrade head
```
### Start the application
```bash
uvicorn app.main:app --reload --port 3091
```
or
```bash
uvicorn app.main:app --reload --host 0.0.0.0 --port 3091
```
## Dev
### Update packages
```bash
pip freeze > requirements.txt
```