Skip to content

b-enedict/hackhpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackHPI - Stair Detection and Route Planning

A full-stack application that detects stairs using sensor data and provides accessible route planning.

Components

Backend (FastAPI)

  • FastAPI server handling sensor data processing and route calculations
  • PostgreSQL database for storing detection events
  • AWS Location Service integration for route planning
  • ML model for stair detection (placeholder implementation)

Frontend (React Native/Expo)

  • Mobile app for recording sensor data
  • Map view showing detected stairs and calculated routes
  • Real-time data visualization

Prerequisites

  • Python 3.8+
  • Node.js 16+
  • Docker and Docker Compose
  • AWS Location Service API key

Starting

  1. Clone the repository:
git clone <repository-url>
cd hackhpi
  1. Set up environment variables: Create a .env file in the root directory:
AWS_LOCATION_SERVICE_API_KEY=your-api-key-here
  1. Start the backend and database using Docker:
docker-compose up --build
  1. Make the backend publicly available by using for example ngrok. Write the URL under which the backend is available in the ./frontend/.env file as
EXPO_PUBLIC_API_URL=https://your-backend-url
  1. Install frontend dependencies:
cd frontend
npm install
  1. Start the frontend development server:
npm run dev
  1. Download the Expo Go App on your smartphone, connect to the same network as the machine on which you are running the expo development server and scan the qr code, which appears upon execution of npm run dev

  2. After loading the code you can use the app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors