目的:簡単な bbs のバックエンドシステムを rust を利用して実装します。
Server:
- Rust
- MariaDB
- axum
- sqlx
Client:
- SvelteKit
- JavaScript
- Windi CSS
- Backend と Frontend は REST API で通信
- SSR/SPA
- 初回のみサーバでレンダリングを行い、以降は JavaScript の通信でデータ取得を行い、ページ更新を実施する
POST /
Parameter | Type | Description |
---|---|---|
content |
string |
Required. message |
POST /getposts
Parameter | Type | Description |
---|---|---|
offset |
string |
Required. offset |
pageSize |
string |
Required. pageSize |
POST /delete
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of Post |