This template has backend files
and front end files
together, it's the perfect combination of the React Flux and the Flask API templates so that you can create a Full Stack application applying all the concepts used in the professional world.
You can find a thorough explanation on how to create new pages, components, adding styles and using the context, inside this previous documentation we created for the React Flux template. This is because the Full-Stack Template was created under the same structure and concepts as that one.
You can find a thorough explanation on creating your Flask API endpoints, creating new models, database migrations and using the flask admin in this documentation, this is because this template was created with the same structure and concepts as the Flask API Template.
It is recommended to install the backend first, make sure you have Python 3.8+, Pipenv and a database engine (Postgres recommended)
$ pipenv install
$ cp .env.example .env
Engine | DATABASE_URL |
---|---|
SQLite | sqlite:////test.db |
MySQL | mysql://username:password@localhost:port/example |
Postgres | postgres://username:password@localhost:5432/example |
$ pipenv run migrate
(skip if you have not made changes to the models on the ./src/api/models.py
)$ pipenv run upgrade
$ pipenv run start
$ npm install
$ npm run start
This template is 100% compatible with Heroku and Render.com, just make sure to read the quick deployment guides.