https://github.com/emarifer/demo-axum-spa
Full-stack SPA demo using Solidjs, TypeScript, and Tailwindcss. Backend by Rust with Axum.
https://github.com/emarifer/demo-axum-spa
axum axum-framework axum-server rust solidjs solidjs-router tailwindcss typescript
Last synced: about 2 months ago
JSON representation
Full-stack SPA demo using Solidjs, TypeScript, and Tailwindcss. Backend by Rust with Axum.
- Host: GitHub
- URL: https://github.com/emarifer/demo-axum-spa
- Owner: emarifer
- License: mit
- Created: 2023-05-22T10:59:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-24T10:54:24.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T05:26:46.794Z (3 months ago)
- Topics: axum, axum-framework, axum-server, rust, solidjs, solidjs-router, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://axum-spa.onrender.com/
- Size: 192 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo Axum SPA
### Full-stack SPA demo using Solidjs, TypeScript, and Tailwindcss. Backend by Rust with Axum.
First, you need to compile the frontend:
```bash
$ pnpm build #(you need to have Nodejs and pnpm (or yarn) installed)
```To run the server (in development mode):
```bash
$ cargo run # or cargo watch -q -c -w src/ -x run (cargo-watch must be installed on the system)
```The page will reload if you make edits (with watch mode) 😀.
To build the project for production and minimize its size:
```bash
$ cargo build --release
```Runs the app in the development mode.
Open [http://localhost:8080/api/healthchecker](http://localhost:8080/api/healthchecker) to view it in the browser.