Smart home app

Setup

Backend

  • Navigate to ./backend, then use npm install
  • If needed, install socket.io with npm install socket.io, mqtt with npm install mqtt

  • To run, type in terminal npm run start

Frontend

  • Navigate to ./frontend, then use npm install
  • To run, make sure to connect to the same wifi, then type npx expo start --tunnel
  • If needed, update