Giter Site home page Giter Site logo

discuss's Introduction

A Simple Discuss

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

API Documentation

  1. 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

  1. Post a new discussion from Front

class: POST

fn: post_discussion

  1. Get a discussion by id And Show it's child node content

class: GET

fn: get_discussion

  1. Get a discussion by id

class: GET

fn: get_single_discussion

  1. Get Discussions by String like "1,2,3"

class: GET

fn: get_discussion_many

Build Linux

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

discuss's People

Contributors

kkbt0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.