TechChallenge 2022 "Guided Construction" ππ·β
Smart Store is an intelligen storing solution for construction sites, so that construction managers and workers never lose track of availble parts and their location again.
It consists of three systems. A web application (frontend) that is displayed in the terminal. A backend that handles and persists the data. And the edge client (Raspberry Pi) that gathers all the sensor data and sends it to the backend.
- Open the Backend folder in a terminal
- Install the required dependencies:
npm install - Copy the .env.dist file to .env and fill in the required values
cp .env.dist .env - Change the database connection string in Backend/src/server.ts
- Start in dev mode using
npm run dev - For use in production run
npm run build && npm run start - If you want to deploy it on heroku use branch: deployment-be
- Open the Frontend folder in a terminal
- Install the required dependencies:
npm install - Start in dev mode using
npm run dev - For use in production run
npm run build && npm run start - If you want to deploy it on heroku use branch: deployment-fe
- Clone the repo to the Raspberry Pi and open the Edge folder
- Install the required dependencies:
pip3 install -r requirements.txt - Copy the .env.dist file to .env and fill in the required values
cp .env.dist .env - Calibrate the pallets using:
python3 run.py - Start the communication with the backend using:
pyhon3 main.py