2110356 Embedded System Project; The web application used for receiving the picture from the STM32's camera and alerting if there is a non-visitor go inside the house.
This is a Next.js project bootstrapped with create-next-app
.
- visitor-detection-stm32 - Using STM32 for detecting the visitors with the infrared sensor and ESP32-Cam for sending the picture to the server.
First, you need to install the dependencies:
npm install
# or
yarn
Second, specify env
variables in .env.local
for development and .env.production.local
for production
Third, run the dev server
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
If you want to run the app as production, you need to run following this
npm run build
npm run start
# or
yarn build
yarn start
Here is my deployment http://visitor.saenyakorn.dev using Google App Engine.