Giter Site home page Giter Site logo

blog's Introduction

一个博客项目

分为 client 和 server,基本全部使用 Rust 语言

client 使用 Yew 编写(WebAssembly),server 则是使用了 ntex 这个高性能的 Web 框架

后端使用 PostgreSQL 数据库,建表语句在项目根目录下

前端使用 Picnic CSS 这个 CSS 框架

包含增删改查和用户鉴权等功能,支持使用 Github 登录,但是得先在 Github 上注册一个自己的应用,然后替换掉服务端代码里面的 CLIENT_IDCLIENT_SECRET 这两个常量(constants.rs),客户端代码里的 CLIENT_IDconstants.rs) 和 test.html 里的 client_id,具体操作步骤可以去看视频

blog's People

Contributors

za-songguo avatar

Stargazers

langzi.me avatar  avatar Chester Xu avatar Kaihui Zhang avatar  avatar Lu avatar  avatar  avatar Li Yang  avatar  avatar tianlilei avatar  avatar  avatar clc. avatar  avatar  avatar 7158 avatar MetaGear avatar  avatar Ben Chen avatar YCCD avatar Yin Zhang avatar  avatar Asphodelus avatar 侠客老王 avatar  avatar

Watchers

feiliu3k avatar  avatar

blog's Issues

版本升级、工具等项目问题求教

  1. 大佬,ntex版本有一丢丢老
    type Future<'f> = Either<ServiceCall<'f, S, WebRequest<Err>>, Ready<Result<Self::Response, Self::Error>>> where Self: 'f, Err: 'f;
    目前ntex已经是1.0了,而ntex_service也已是2.0了,看源码中已经砍掉了ServiceCall,求新的初始化Future方法。我看ntex新版的中间件 call方法 改成了 async的,是否就不用Future了,求解惑。

  2. 代码注释中提到了 类似 “/// DTO 对象 - 由插件生成。不应该直接更改。”,请问这是有生成器嘛?求分享。

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.