@@ -19,34 +19,33 @@ Tools
1919[ ![ Static Typing: mypy] ( https://img.shields.io/badge/static%20typing-mypy-blue.svg?style=flat )] ( https://github.com/python/mypy/ )
2020[ ![ Security: bandit] ( https://img.shields.io/badge/security-bandit-yellow.svg?style=flat )] ( https://github.com/PyCQA/bandit )
2121[ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=flat&logo=pre-commit&logoColor=white )] ( https://github.com/pre-commit/pre-commit )
22+ [ ![ API Specs] ( https://img.shields.io/badge/specs-flasgger-6D9A00?style=flat&logo=swagger&logoColor=white )] ( https://github.com/flasgger/flasgger )
2223
2324
2425Usage Guide
2526------------------------------------------------------------------------------
2627This is a template project hosted on GitHub which can be used to create new repositories.
2728
28- Steps for creating boilerplate project in GitHub
29- ------------------------------------------------------------------------------
30- 0 . Create a new repository named "my-pyflask-project" using this template repository *
31- 0 . ` git clone https://www.github.com/username/my-pyflask-project.git `
32- 0 . ` cd my-pyflask-project `
33- 0 . Create and activate conda environment ` conda activate my-conda-venv ` **
34- 0 . ` make setup ` : Use pip-tools, pip-compile, pip install to setup python packages
29+
30+ ### Steps for creating boilerplate project in GitHub
31+ 1 . Create a new repository named "my-pyflask-project" using this template repository *
32+ 1 . ` git clone https://www.github.com/username/my-pyflask-project.git `
33+ 1 . ` cd my-pyflask-project `
34+ 1 . Create and activate conda environment ` conda activate my-conda-venv ` **
35+ 1 . ` make setup ` : Use pip-tools, pip-compile, pip install to setup python packages
3536
3637\* [ GitHub Guide: Creating a repository from a template] ( https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template )
3738<br >
3839\* * [ Guide to Conda environment] ( https://github.com/pritam001/pyflask-microservice-base/blob/master/documentation/conda.md )
3940
4041
41- Make Guide
42- ------------------------------------------------------------------------------
42+ ### Make Guide
4343Type ` make help ` for available commands
4444
4545<p align =" center " ><img src =" documentation/assets/make-help.gif " /></p >
4646
4747
48- Linting Guide
49- ------------------------------------------------------------------------------
48+ ### Linting Guide
5049` make format ` : Format and fix python code with black, isort, autoflake
5150
5251<p align =" center " ><img src =" documentation/assets/make-format.gif " /></p >
@@ -56,8 +55,39 @@ Linting Guide
5655<p align =" center " ><img src =" documentation/assets/make-lint.gif " /></p >
5756
5857
59- Contributing
58+ ### Documentation
59+ Flasgger docs can be found at http://0.0.0.0:8420/api/v1/pyflask-service/swagger
60+
61+ API specs can be found at http://0.0.0.0:8420/api/v1/pyflask-service/swagger_spec
62+
63+ Flasgger UI version: v2 | OpenAPI version: 2
64+
65+ <p align =" center " ><img src =" documentation/assets/flasgger_intro.png " /></p >
66+
67+
68+ Development Setup
6069------------------------------------------------------------------------------
61- [](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/0)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/1)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/2)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/3)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/4)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/5)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/6)[](https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/7)
70+ To be updated
6271
6372
73+ Contributing
74+ ------------------------------------------------------------------------------
75+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/0 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/0 )
76+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/1 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/1 )
77+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/2 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/2 )
78+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/3 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/3 )
79+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/4 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/4 )
80+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/5 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/5 )
81+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/6 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/6 )
82+ [ ![ ] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/images/7 )] ( https://sourcerer.io/fame/pritam001/pritam001/pyflask-microservice-base/links/7 )
83+
84+
85+ TODO
86+ -----------------------------------------------------------------------------
87+ - [x] Swagger support
88+ - [ ] Update linting documentation
89+ - [ ] Introduction of testing tools
90+ - [ ] Testing tools documentation
91+ - [ ] Version handling by tbump
92+ - [ ] Add CoC, Contribution guidelines, PR and issue
93+
0 commit comments