A POC by Noe Horowitz
Walkthrough tutorial video: https://rpi.box.com/s/gieyjk3pvzyg8yu7a9hfgc3a9sqf8lgs
There are two main parts to this application, the Backend and the Client, each with its own necessary packages.
All of these commands assume that you are starting in the root directory.
The Backend is mainly used as a database, it is built with Python Flask
Use the package manager pip to install the backend for this POC.
> cd .\backend\
-- Optional: creating a virtual python environment --
> python -m venv venv
> venv\Scripts\activate.bat
-----------------------------------------------------
> pip install -r requirements.txtThe Client is the front end of the application, this is where most of the application lies. It is built using React.
> cd .\client\
> npm installRunning the backend works as follows:
> cd .\backend\
-- If using virtual environment --
> venv\Scripts\activate.bat
----------------------------------
> flask runThis will make the backend run, on the first instance, the SQLAlchemy Database is automatically created under the file database.db.
Running the client works as follows:
> cd .\client\
> npm run startThis will start a live version of the React Server.