https://github.com/hvu-dev/finance-manager
Finance manager: A simple RESTful APIs for expenses management
https://github.com/hvu-dev/finance-manager
docker-compose fastapi postgresql python3 sqlalchemy
Last synced: about 2 months ago
JSON representation
Finance manager: A simple RESTful APIs for expenses management
- Host: GitHub
- URL: https://github.com/hvu-dev/finance-manager
- Owner: hvu-dev
- Created: 2023-04-02T13:21:13.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-05-01T12:57:36.000Z (about 3 years ago)
- Last Synced: 2024-12-30T21:23:21.666Z (over 1 year ago)
- Topics: docker-compose, fastapi, postgresql, python3, sqlalchemy
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Finance manager
A simple backend to store your daily expense.
## Tech stacks
- Docker Compose
- Python (3.10)
- FastAPI (0.95.0)
- PostgreSQL (14.0)
- ORM: SQLAlchemy
## Installation
- Step 1: Pull the project
- Step 2: In the project root, run: `docker-compose up -d` or if you're using Docker Compose V2, `docker compose up -d`
In case you want to run this as standalone application, you can using the following command:
```uvicorn financesvc.main:app --reload --host 0.0.0.0 --port 8001```.
Change your port and ip to fit your requirements.
## Change your configurations
Most of the settings are stored in `docker-compose.yaml` and `financesvc/settings.py`.
You can update database connections if you're using an external database in either docker-compose file or directly in `settings.py`
For CORS settings, you can update your upstream domain in `ALLOW_ORIGINS`.
## Reference
- FastAPI: https://fastapi.tiangolo.com/
- SQLAlchemy: https://www.sqlalchemy.org/
### Sample front end:
- [finanace-manager-ui](https://github.com/HuyVQ18411c/finance-manager-ui)