This is an example ReactJs app with a Flask backend acting as a Rest API.
The app is used for inventory tracking. User can keep a list of their inventory, or they can add inventories to existing, public ones.
-
The project uses Python 3.9 or higher, NodeJs 16 and Docker.
-
We use Npm - installed with Node - and Poetry to manage Python packages and create the virtual environment. Since Poetry is not installed Install with Python, make sure to install it before starting the project.
# Clone the code
git clone https://github.com/dasdachs/flask-react-full-example .
cd flask-react-full-example
npm install # installs the root project dependencies
npm run bootstrap # installs the package dependencies and create a virtual environment
docker-compose up -d # omit the -d flag if you want to see the stdout output
npm start # run npm run start:server or :client to run only once part of the app