ExpressJS资源


本章列出了我们在本教程中使用的各种资源。

  • 最重要的链接当然是Express API文档 - https://expressjs.com/en/4x/api.html

  • 快递网站上提供的不同方面的指南也很有帮助 -

    • 路由 : https://expressjs.com/en/guide/routing.html

    • 中间件 : https://expressjs.com/en/guide/writing-middleware.html

    • 错误处理 : https://expressjs.com/en/guide/error-handling.html

    • 调试 : https://expressjs.com/en/guide/debugging.html

  • 有关Express的有用书籍和博客列表,请访问 https://expressjs.com/en/resources/books-blogs.html

  • 有关Express的大多数中间件列表,请访问 https://expressjs.com/en/resources/middleware.html

  • 这些带有Express提示和技巧的博客可能会有所帮助

    • https://derickbailey.com/categories/tips-and-tricks/

    • https://scotch.io/tutorials/learn-to-use-the-new-router-in+-expressjs-4

  • 申请结构 - https://www.terlici.com/2014/08/25/best-practices-express-structure.html

  • RESTful API

    • https://www.thepolyglotdeveloper.com/2015/10/create-a-simple-restful-api-with-node-js/
    • https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4
    • https://devcenter.heroku.com/articles/mean-apps-restful-api
    • https://pixelhandler.com/posts/develop-a-restful-api-using-nodejs-with-express-and-mongoose
    • http://cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/
  • 对于高级身份验证,请使用PassportJS - http://passportjs.org