Getting Started#
Installation#
Backend Setup#
Clone the repository: .. code-block:: bash
git clone lula1450/SETAP-B.git cd SETAP-B
Create a virtual environment: .. code-block:: bash
cd petsync_backend python3 -m venv venv source venv/bin/activate
Install dependencies: .. code-block:: bash
pip install -r requirement.txt
Run the backend server: .. code-block:: bash
python main.py
Frontend Setup#
Navigate to the frontend directory:
cd frontend/maincode
Install Flutter dependencies:
flutter pub get
Run the application:
flutter run -d chrome
Project Structure#
SETAP-B/
├── petsync_backend/ # FastAPI backend
│ ├── main.py
│ ├── models.py
│ ├── database.py
│ ├── routers/ # API endpoints
│ └── utils/
├── frontend/maincode/ # Flutter mobile app
│ ├── lib/ # Dart source files
│ ├── android/
│ ├── ios/
│ └── pubspec.yaml
└── docs/ # Documentation