Full Stack: Flutter (Front-end). Django with REST Framework (Backend)
How to run it:
- Download VsCode: (https://code.visualstudio.com/download)
- Download & Install Python3 -> (https://www.python.org/downloads/)
- Download & Install PostgreSQL (https://www.postgresql.org/download/)
- Install PGAdmin4, for setting up the database to connect later : (https://www.pgadmin.org/download/)
- Download & Install Flutter: (https://docs.flutter.dev/install/manual)
- Put flutter bin folder in environemnt path
- Download & Install Flutter Extension in VSCode
- Create 2 folder. [Backend, Frontend]
- Open Terminal -> cd Backend create virtual environment: (python3 -m venv venv)
- Activate venv -> venv\Scripts\Activate -> your terminal will have (venv) in front
- Install the requirementx.txt -> pip install -r requirements.txt
- Run py manage.py makemigrations
- Run py manage.py migrate
- Load data acounts.json, products.json, cart.json -> (python manage.py loaddata accounts.json) and so on.
- Run flutter without debugging using chrome.
VOILA ! Now you can run the app
PS > If have some error regarding the psycopg, try to install the binary using pip installation at terminal.
Im using terminal (CMD) in VsCode. Configure the database as you like but make sure it match the settings.py