All Projects → CharlyJazz → Flask-MVC-Template

CharlyJazz / Flask-MVC-Template

Licence: other
Flask-MVC Template It is a template with "batteries included" created for the fast development of applications in the microframework flask 🐍

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Flask-MVC-Template

ct-material-dashboard-pro-laravel
Material Pro Dashboard For Laravel Framework 9.x and Up
Stars: ✭ 18 (-66.67%)
Mutual labels:  backend
500-interview-question-for-programmers
个人的学习工作总结,可作为你的面试指南(目前涵盖八股,非八股,算法,系统设计)。
Stars: ✭ 38 (-29.63%)
Mutual labels:  backend
carpoolear backend
The open source Laravel backend for the argentinian carpooling application: Carpoolear
Stars: ✭ 45 (-16.67%)
Mutual labels:  backend
yii2-admin-template
Yii2 application template targeted for backends.
Stars: ✭ 17 (-68.52%)
Mutual labels:  backend
imitate-wechat-menu-backend
用Vue.js模仿微信公众平台自定义菜单的前端页面
Stars: ✭ 98 (+81.48%)
Mutual labels:  backend
uniauth-backend
backend service to power uniAuth
Stars: ✭ 16 (-70.37%)
Mutual labels:  backend
fbsql
Work (secure) with your backend database within HTML
Stars: ✭ 16 (-70.37%)
Mutual labels:  backend
weixin vote
使用 Tornado 开发的微信公众平台投票系统
Stars: ✭ 45 (-16.67%)
Mutual labels:  backend
eleanor
Code used during my Chaos Engineering and Resiliency Patterns talk.
Stars: ✭ 14 (-74.07%)
Mutual labels:  backend
opentab
开源的轻应用后端(Open Tiny App Backend),轻量,高效,易部署。
Stars: ✭ 27 (-50%)
Mutual labels:  backend
slotlist-backend
Backend of slotlist.info, an ArmA 3 mission planning and slotlist management tool
Stars: ✭ 13 (-75.93%)
Mutual labels:  backend
pocket-cms
☁️ A pocket sized CMS written for nodejs
Stars: ✭ 13 (-75.93%)
Mutual labels:  backend
thunder
REST API application that manages user databases
Stars: ✭ 22 (-59.26%)
Mutual labels:  backend
minibar
Minibar: Kleine Leiste für REDAXO, die nützliche Funktionen fürs System und den jeweiligen Benutzerkontext anbietet
Stars: ✭ 29 (-46.3%)
Mutual labels:  backend
FlutterAngel
A Flutter App with Angel backend.
Stars: ✭ 13 (-75.93%)
Mutual labels:  backend
jobs
💼 Job opportunities in Singapore and abroad
Stars: ✭ 36 (-33.33%)
Mutual labels:  backend
creatly-backend
🚀 Creatly backend app
Stars: ✭ 71 (+31.48%)
Mutual labels:  backend
nest-auth-example
Nest.js authentication with Passport. Realworld example
Stars: ✭ 186 (+244.44%)
Mutual labels:  backend
libs-back
The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
Stars: ✭ 41 (-24.07%)
Mutual labels:  backend
woowacourse-projects
우아한테크코스 3기에서 학습한 내용을 정리하는 저장소
Stars: ✭ 25 (-53.7%)
Mutual labels:  backend

Flask-MVC Template

Build Status

Flask-MVC Template It is a template with "batteries included" created for the fast development of applications in the microframework flask

Feature:

Flask-Via: For create routes like a Django Rest Framework style using Blueprints!

Flask-Security: To easily have login, logout, recovery password and to keep administrator views restricted.

This template has a sub folder in templates / security in which are the custom templates for flask-security. Already configured.

Flask-Admin: A cool admin interface customizable for your models and assets recources.

Add yours models in the file admin.py

Flask-Upload: This template brings an example of how to use flask-upload in different blueprints and how to save the url of file in the database

Delete restaurant and food folders and rewrite app / __ init__.py for delete the pretty example

Flask-Script: Awesome commands for your projects, including the Flask-Migrate commands:

  • createadmin: Create admin user
  • createapp: Scaffold new blueprint folder and register in the file app/routes.py

Rauth Social Login with facebook, google and twitter

Flask-Testing Simple test unit with Faker for generate forget data and unittest And Selenium webdriver for front end testing

  • python -m unittest discover -p <file.py>: Test the specific file

TODO:

  • Flask-Script
    • Admin command
    • Create app command
  • Flask-Migrate
  • Flask-Uploads
    • Create one instance of this in each blueprint
  • Oauth
    • Facebook
    • Twitter
    • Google
  • Testing with Flask-Testing
    • Faker for generate forged data
    • Front end test with Selenium webdriver
    • Back end test
  • Create command to create an admin
  • Factory App
  • HTTP Templates for error handling
  • Create easy way for Unit Test

⚠️ Be carefull

Before use this for your projects keep in mind that this project is quite old, and it is preferable to create one with more modern tools and libraries. This project is useful if you want to read the source code and learn a little about the use of Flask on monolithic architectures.

New version.

Since a lot of extensions of flask are outdated and bugged. We going write features with native flask code, add more features and make the project more clean and easy to use and scale.

Issue to track progress


Database modeling, schema, and ORM:

  • Improve User/Role models with native code without Flask-Security
  • Each model in a file in models.py
  • Schema for JSON parsing using marshmallow
  • Add User Role unit test

Testing, TTD/BDD:

  • Remove Flask-Testing because is outdated
  • Create Unit Testing for Schemas, Models definition and CLI commands
  • REST API Integration test
  • GRAPHQL API Integration test

CLI:

  • Create a folder cli/ and add a file for each command
  • Create a command to generate a sqlalchemy model with properties and references like Rails

Web Server:

  • File upload folders examples with ```Flask-Upload`` or native code if that library don't work
  • Register with email confirmation
  • Login
  • User details page
  • Recover Password with email token
  • Remove Bootstrap and Flask-Assets
  • Remove Material Icons and Fonts from Google
  • Remove JQuery
  • Refactors Jinja2 code and HTML to make it better to read
  • Remove feature: Admin panel and add a Admin protected simple view
  • Facebook, Twitter, Google authentication

REST API:

  • Endpoints
    • JWT with RSA2048
    • Login
    • Protected endpoint for admin
    • All users non-protected view
  • API Documentation with this as npm package, more pretty than Swagger

GRAPHQL API:

  • Endpoints
    • JWT with RSA2048
    • Login
    • Protected endpoint for admin
    • All users non-protected view
  • API Documentation with graphiql
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].