Make sure you have these installed:
- Node.js (LTS version is recommended)
- npm (comes with Node)
- Expo CLI (installed locally via
npx, no global install required) - Android Studio
- Android SDK
- An Android Virtual Device (AVD) if you want to run the emulator
- Git (optional but useful)
Backend requirements:
- The AI backend (Node + Python) should be running
- use the cmd and type ipconfig
- take your ip address and add it into the \services\api.js in: const HOST = 'your-ip';
Clone the repo and install dependencies.
# clone your repo if needed
git clone https://github.com/ylk14/SmartPlant.git
# go into the frontend folder
cd SmartPlant
# install JavaScript dependencies
npm install
# start the app
npm run start