High-performance WebSocket system built with Rust and Leptos.
- Rust (latest stable)
- Node.js (for frontend development tools)
- Docker and Docker Compose
- PostgreSQL (if running locally)
- Clone the repository:
git clone git@github.com:phonnz/fullrstack.git
cd fullrstack- Build and run with Docker:
docker-compose up --build- Visit http://localhost:3000 for the dashboard
- Create the database
psql -U postgres -c "CREATE USER fullrstack WITH PASSWORD 'fullrstack';"
psql -U postgres -c "CREATE DATABASE fullrstack OWNER fullrstack;"
- Create a .env file in the project root
DATABASE_URL=postgres://fullrstack:fullrstack@localhost:5432/fullrstack
RUST_LOG=debug
SERVER_URL=ws://localhost:8080
-
Migrate
cargo run -p fullrstack-server -- migrate -
Start the server
cargo run -p fullrstack-server
cargo run -p fullrstack-examples --bin test_client