Part of sleepwalker project. React powered frontend for sleep monitoring and sleepwalking detection + prevention system.
- React 18.2
- Vite 4.5.0
- Typescript 5.0.2
- React Router 6.18
- MUI 5.14
- chart.js 4.4.0
- nginx
- Dashboard for session details (with chart.js graphs).
- User authentication.
- Managing user settings & API Key.
- Managing logs sessions.
- Sessions filtering based on start and end date.
- Create
.env
file
cp .env.template .env
- Set
VITE_API_URL
to API url, for example
http://127.0.0.1:8000/api
- Install dependencies
npm i
- Start dev server
npm run dev
- Create
.env
file
cp .env.template .env
- Set
VITE_API_URL
to API url, for example
http://127.0.0.1:8000/api
- Build docker image
docker compose build
- Serve app via nginx
docker compose up -d