https://github.com/juniors90/microservice-versioning-example
Flask Microservice Versioning Example
https://github.com/juniors90/microservice-versioning-example
connexion flask flask-application sqlalchemy
Last synced: 14 days ago
JSON representation
Flask Microservice Versioning Example
- Host: GitHub
- URL: https://github.com/juniors90/microservice-versioning-example
- Owner: juniors90
- License: mit
- Created: 2023-03-06T18:34:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T21:14:05.000Z (about 2 years ago)
- Last Synced: 2025-02-07T15:45:12.873Z (2 months ago)
- Topics: connexion, flask, flask-application, sqlalchemy
- Language: Python
- Homepage: https://microservice-versioning-example.onrender.com
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - juniors90/microservice-versioning-example - Flask Microservice Versioning Example (Python)
README
# Fask Microservice Versioning Example
[](https://codecov.io/gh/juniors90/microservice-versioning-example)
[](https://github.com/juniors90/microservice-versioning-example/actions)
[](https://github.com/juniors90/microservice-versioning-example/issues)
[](https://github.com/juniors90/microservice-versioning-example/network)
[](https://github.com/juniors90/microservice-versioning-example/stargazers)
[](https://github.com/juniors90/microservice-versioning-example/blob/main/LICENSE)
[](https://github.com/juniors90/microservice-versioning-example/graphs/contributors)
[](https://github.com/psf/black)Code built following Real Python tutorials:
- [Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 1](https://realpython.com/flask-connexion-rest-api/)
- [Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 2](https://realpython.com/flask-connexion-rest-api-part-2/)
- [Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 3](https://realpython.com/flask-connexion-rest-api-part-3/)Some modificationes were made:
- source code was placed in [`src`](./src/) folder instead of root folder
- docstrings in [numpydoc format](https://numpydoc.readthedocs.io/en/latest/format.html) were added
- type hints were addedFor using this code, follow next steps:
1. Create an environment
2. Install project requirements:```bash
pip install -r requirements
```3. Create the database:
```bash
python build_database.py
```4. Run the API:
```bash
python -m src
```