The one and only TypeScript + React + Redux + Flask boilerplate!
JWT Based User Management
Users are managed in the app's SQL DB, utilizing standard Flask libraries like flask-sqlalchemy
and flask-bcrypt
.
In the frontend, all user information is stored in the app's Redux
store, and the authentication is based on JWT.
By enforcing the no-implicit-any
Typescript rule, all components, layouts, routes, actions and reducers are now fully typed.
Ant-Pro Design
Components styling, routing algorithm and layouts structure were adopted from the great Ant-Pro example.
The app supports multiple layouts, in which each component is dynamically loaded upon access.
This app requires Python 3.6+ to run properly.
In the backend
directory, run:
python setup.py develop
python app.py
This app runs best with yarn.
In the frontend
directory, run:
yarn install
yarn start
The app currently has a single route, with a simple text and pie chart in it. In order to add a new one, follow these few simple steps:
- WIP