Build web applications using React.js for the front end and python/flask for your backend API.
- Documentation can be found here: https://start.4geeksacademy.com/starters/react-flask
- Here is a video on how to use this template
- Integrated with Pipenv for package managing.
- Fast deployment to heroku in just a few steps here.
- Use of .env file.
- SQLAlchemy integration for database abstraction.
If you use Github Codespaces (recommended) or Gitpod this template will already come with Python, Node and the Posgres Database installed. If you are working locally make sure to install Python 3.10, Node
It is recomended to install the backend first, make sure you have Python 3.8, Pipenv and a database engine (Posgress recomended)
- Install the python packages:
$ pipenv install
- Create a .env file based on the .env.example:
$ cp .env.example .env
- Install your database engine and create your database, depending on your database you have to create a DATABASE_URL variable with one of the possible values, make sure you replace the valudes with your database information:
Engine | DATABASE_URL |
---|