Use Rocket rc-0.5 , SQLite
- Add a Topic
- Update Topic Father Node
- Get Topic by id
- Get Topic by string eg:1,2,3
- Set @xxx
- Use MySQL instead,and get id by inserting result
- Remove Test routes and modules
- Discuss by URL eg: http://dis.com/url/https%3A%2F%2Fwww.ftls.xyz%2Fposts%2Frust-rocket3%2F
- Build Another Scheme And Convert URL into Topic ID
- Build Web-Front Page
- Add a WebSite Main Page
- Jump To Discussion By URL
class: GET
eg: http://dis.com/url/https%3A%2F%2Fwww.ftls.xyz%2Fposts%2Frust-rocket3%2F to it's Discussion Page
fn: get_url_discussion
- Post a new discussion from Front
class: POST
fn: post_discussion
- Get a discussion by id And Show it's child node content
class: GET
fn: get_discussion
- Get a discussion by id
class: GET
fn: get_single_discussion
- Get Discussions by String like "1,2,3"
class: GET
fn: get_discussion_many
cargo build --target x86_64-unknown-linux-musl
或
cargo build --target x86_64-unknown-linux-musl --release 发布构建
API 接口 https://api.ftls.xyz/
Vue Web https://note.ftls.xyz/dis