{"id":20796715,"url":"https://github.com/synphonyte/leptos-surreal-session-auth-axum","last_synced_at":"2026-04-21T17:09:22.873Z","repository":{"id":212365065,"uuid":"731237077","full_name":"Synphonyte/leptos-surreal-session-auth-axum","owner":"Synphonyte","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-07T11:59:28.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-18T11:29:15.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Synphonyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-13T16:25:25.000Z","updated_at":"2024-01-19T07:53:47.000Z","dependencies_parsed_at":"2024-11-17T16:35:31.933Z","dependency_job_id":"93221d47-6788-4e53-aa42-d697e8614bb6","html_url":"https://github.com/Synphonyte/leptos-surreal-session-auth-axum","commit_stats":null,"previous_names":["synphonyte/leptos-surreal-session-auth-axum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synphonyte%2Fleptos-surreal-session-auth-axum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synphonyte%2Fleptos-surreal-session-auth-axum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synphonyte%2Fleptos-surreal-session-auth-axum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synphonyte%2Fleptos-surreal-session-auth-axum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synphonyte","download_url":"https://codeload.github.com/Synphonyte/leptos-surreal-session-auth-axum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141256,"owners_count":20242817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T16:28:49.688Z","updated_at":"2026-04-21T17:09:17.823Z","avatar_url":"https://github.com/Synphonyte.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leptos Surrealdb Session Auth Axum Starter Template\n\n## Running your project\n\n```bash\ncargo leptos watch\n```\n\n## Installing Additional Tools\n\nYou may need to install one or more of these tools.\n\n1. `rustup toolchain install nightly --allow-downgrade` - make sure you have Rust nightly\n2. `rustup target add wasm32-unknown-unknown` - add the ability to compile Rust to WebAssembly\n\n## Run Surreal Server\n\n1. Install surreal on your machine https://docs.surrealdb.com/docs/installation/overview\n2. Run disk based server\n```bash\nsurreal start --user root --pass root --bind 127.0.0.1:8000 file://path/to/mydatabase\n```\n\n## Compiling for Release\n```bash\ncargo leptos build --release\n```\n\nWill generate your server binary in target/server/release and your site package in target/site\n\n## Testing Your Project\n```bash\ncargo leptos end-to-end\n```\n\n```bash\ncargo leptos end-to-end --release\n```\n\nCargo-leptos uses Playwright as the end-to-end test tool.  \nTests are located in end2end/tests directory.\n\n## Executing a Server on a Remote Machine Without the Toolchain\nAfter running a `cargo leptos build --release` the minimum files needed are:\n\n1. The server binary located in `target/server/release`\n2. The `site` directory and all files within located in `target/site`\n\nCopy these files to your remote server. The directory structure should be:\n```text\nproject_name\nsite/\n```\nSet the following environment variables (updating for your project as needed):\n```text\nLEPTOS_OUTPUT_NAME=\"project_name\"\nLEPTOS_SITE_ROOT=\"site\"\nLEPTOS_SITE_PKG_DIR=\"pkg\"\nLEPTOS_SITE_ADDR=\"127.0.0.1:3000\"\nLEPTOS_RELOAD_PORT=\"3001\"\n```\nFinally, run the server binary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynphonyte%2Fleptos-surreal-session-auth-axum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynphonyte%2Fleptos-surreal-session-auth-axum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynphonyte%2Fleptos-surreal-session-auth-axum/lists"}