Coder Social home page Coder Social logo

realworld-express's Introduction

项目是由realworld设计的api规范进行开发

前端ssr

实现功能

已完成

  • 登录,注册
  • 文章的增删改查

未完成

  • 标签
  • 点赞
  • 取消点赞

仅对接口进行开发,并没有画前端页面

使用的依赖库介绍

处理数据验证使用的框架

  • express-validator基于validator库,在路由中使用,具体看文档https://express-validator.github.io/docs/
  • crypto 支持很多散列算法,这里使用md5
  • jwt token认证,jwt分为三个部分 Header(头部),Payload(负载,存数据的),Signature(签名,防止数据篡改) Base64Url算法,token放在HTTP请求头里面,建议 Authorization:Bearer

realworld-express's People

Contributors

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