Skip to content
Proyectos

cosmic-byte/flask-restplus-boilerplate

Ver en GitHub

cosmic-byte/flask-restplus-boilerplate has 657 GitHub stars and 224 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-25 07:14 UTC. Last push 2023-02-15.

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
-1
in 7 days
-1
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

Plantilla base para un servicio web RESTful de Flask

Web y aplicaciones

README.md

Original

FLASK RESTX BOILER-PLATE WITH JWT

Terminal commands

Note: make sure you have pip and virtualenv installed.

Initial installation: make install

To run test: make tests

To run application: make run

To run all commands at once : make all

Make sure to run the initial migration commands to update the database.

> python manage.py db init

> python manage.py db migrate --message 'initial database migration'

> python manage.py db upgrade

Viewing the app

Open the following url on your browser to view swagger documentation
http://127.0.0.1:5000/

Using Postman

Authorization header is in the following format:

Key: Authorization
Value: "token_generated_during_login"

For testing authorization, url for getting all user requires an admin token while url for getting a single
user by public_id requires just a regular authentication.

Full description and guide

https://medium.freecodecamp.org/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563

Contributing

If you want to contribute to this flask restplus boilerplate, clone the repository and just start making pull requests.

https://github.com/cosmic-byte/flask-restplus-boilerplate.git

Explorar proyectos relacionados

Cargando…