You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
Python Flask WEB API DEMO
2
2
========================
3
-
3
+
A full working flask demo api, exhaustive examples of common web services that we can made with this great micro-framework flask.
4
+
A kind of one-size-fits-all which can be too complicated for beginners and also too opinionated for advanced uses but first-of-all it's a full working example of common use cases in web api services featuring authentication and backoffice admin, resources CRUD and query pagination, modular structure, REST json responses or Html renders, bootstrap custom themes, some utils like config files for Nginx (as a frontend reverse proxy), Tornado or Gunicorn (as the application server) and much more features.
4
5
5
6
#### This is an advanced demo app forked from AndreiD/Flask-Easy-Template : https://github.com/AndreiD/Flask-Easy-Template
- configuration files, environment variables and sensitive variables (in private folder)
11
-
- Utils for server production setups
12
+
- Production environment config : REDIS (as a server-side session storage), Nginx (as a frontend reverse proxy), Tornado or Gunicorn (as the application server) and some supervisor (upstart or supervisord) config file examples in utils folder
13
+
- Utils for server production setups (nginx and supervisor config files for redis, tornado or gunicorn)
12
14
- Latest bootstrap, bootswatch, modernizer, jquery, moment.js, tinymcs, etc. served from content delivery networks.
13
15
- Module Sample PAGES, with home page full-screen layout
14
16
- Module Sample database SECTIONS with SQLALchemy, relational models and Pagination
@@ -26,7 +28,7 @@ Python Flask WEB API DEMO
26
28
- Session based authentication or Basic HTTP authentication or Token based authentication (with active SSL recommended in production environement)
27
29
- Password hash and password-check with werkzeug.security (bcrypt-like approach) (with active SSL recommended in production environment)
28
30
- password base64 encoding for remote ajax-based app client (optional)
29
-
- Role management (is_admin, is_owner, is_member), control access and Dashboard sample page
31
+
- Role management (is_admin, is_owner, is_member), control access and Dashboard sample page.
30
32
- SQLite or MySQL database configuration option
31
33
- SQL schema files and SQL populate files for SQLite or MySQL
32
34
- ORM Schema relationships samples with SQLAlchemy :
0 commit comments