Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basilenouvellet/surf_marketplace
The demo of my talk "Real-time Product Analytics with LiveView" at ElixirConfEU 2023 in Lisbon 🇵🇹
https://github.com/basilenouvellet/surf_marketplace
Last synced: 3 months ago
JSON representation
The demo of my talk "Real-time Product Analytics with LiveView" at ElixirConfEU 2023 in Lisbon 🇵🇹
- Host: GitHub
- URL: https://github.com/basilenouvellet/surf_marketplace
- Owner: basilenouvellet
- Created: 2023-05-19T13:45:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T15:14:22.000Z (12 months ago)
- Last Synced: 2024-01-30T16:47:24.285Z (12 months ago)
- Language: Elixir
- Size: 621 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Surf Marketplace
## Presentation
This is a fake marketplace for buying & selling used surfboards. It is basic and kind of empty.
The interesting part is the `/admin/analytics` page, with an admin dashboard listing all the connected users (liveview processes):
- process PID
- RAM usage of the process (updated in real-time)
- liveview assigns (updated in real-time)
- ability to kill a process
- ability to send a message to the user through flash messages & message passing## Talk
This is the demo of my talk **Real-time Product Analytics with LiveView** at **ElixirConfEU 2023** in Lisbon 🇵🇹
[![talk](https://img.youtube.com/vi/N9KZmMiGc5g/0.jpg)](https://www.youtube.com/watch?v=T_ET9_BGs1M)
Slides are [available here](https://slides.com/basilenouvellet/palette/fullscreen)
## Disclaimer
This is an experimental project to explore the idea that, with LiveView, a user is a process.
It is **not** production ready, performance optimizations have not been considered yet (e.g. currently we poll the processes twice a second).
## Contributing
Feel free to open a PR if you think about something to improve.
## Setup
- install dependencies with `mix setup`
- start app with `iex -S mix phx.server`
- visit [`localhost:4000`](http://localhost:4000)