# rs-comment **Repository Path**: erasin/rs-comment ## Basic Information - **Project Name**: rs-comment - **Description**: 使用 tide + sqlx 来做 API - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-28 - **Last Updated**: 2021-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 开始 **准备** 安装 `sqlx` 命令,可以参考[官方文档](https://github.com/launchbadge/sqlx/tree/master/sqlx-cli) ```shell cargo install --version=0.1.0-beta.1 sqlx-cli ``` **初始化数据库** ```shell touch comment.db sqlx migrate run ``` https://stjepang.github.io/2020/01/25/build-your-own-block-on.html https://stjepang.github.io/2020/01/31/build-your-own-executor.html