https://github.com/ricardo-melo-martins/python-boilerplate-api-flask
⚡ RMM ⚡ Flask Api Skeleton Python for fast implementation
https://github.com/ricardo-melo-martins/python-boilerplate-api-flask
boilerplate boilerplate-application flask python python3 skeleton skeleton-template
Last synced: about 2 months ago
JSON representation
⚡ RMM ⚡ Flask Api Skeleton Python for fast implementation
- Host: GitHub
- URL: https://github.com/ricardo-melo-martins/python-boilerplate-api-flask
- Owner: ricardo-melo-martins
- License: mit
- Created: 2022-01-10T23:01:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T20:21:05.000Z (over 2 years ago)
- Last Synced: 2025-03-05T05:44:16.000Z (over 1 year ago)
- Topics: boilerplate, boilerplate-application, flask, python, python3, skeleton, skeleton-template
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### ⚡ RMM ⚡
# python-flask-skeleton
[
English Readme](docs/README.en.md)
Python é uma linguagem de programação que permite trabalhar rapidamente e integrar sistemas de forma mais eficaz.
## Descrição
Este é um esqueleto de código que usa Python e Flask.
Auxilia na criação acelerada de aplicações, poc's e estudos da tecnologia.
## Requisitos
[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-360/)
[](https://www.python.org/downloads/release/python-360/)
## Instalação
```bash
$ pip3 install -r ./requirements.txt
```
or with shell
```bash
$ ./bin/install
```
## Iniciando
```bash
$ Flask --app server run --debug
```
or with shell
```bash
$ ./bin/start
```
or with debug
```bash
$ ./bin/start_dev
```
## Cache
### Application
Arquivos de caches da aplicação são gravados no diretório
```
/tmp/caches
```
mas também há arquivos do python `__pycache__, .pyc e .pyo` gravados em meio ao projeto.
Se for preciso apagar os caches criados pela aplicação, existe um comando
```bash
$ ./bin/clear_cache
```
## Logs
### Application
Arquivos de logs são gravados no diretório
```
/tmp/logs
```
Para apagar arquivos de logs
```bash
$ ./bin/clear_logs
```
## Licença
[](LICENSE.md)
Criado e mantido com diversão e :heart: por [](https://github.com/ricardo-melo-martins)