Open github-learning-lab[bot] opened 3 years ago
传统上,JavaScript是一种浏览器端编程语言。但是,Node.js让您能够在服务器端运行JavaScript文件。Express是Node.js的一个库,它允许您向不同的“端点”发出请求并得到响应。
在本教程中,您将学习如何:
使用Node.js和NPM建立一个项目 使用快递发送JSON数据 使用邮递员测试你的应用编程接口 使用中间件保护您的路线 当你看到bulb符号,以下信息是可选的提示或上下文。
本教程是交互式的。在问题底部寻找如何完成每个步骤的说明。如果下一步没有出现,请尝试刷新页面。
当您准备好开始时,请关闭此问题。
Traditionally, JavaScript is a browser-side programming language. However, Node.js gives you the ability to run JavaScript files on the server-side. Express is a library for Node.js, that allows you to make requests to different "endpoints" and get a response back.
In this tutorial you will learn how to:
When you see the 💡 symbol, the following info is a optional tip, or context.
This tutorial is interactive. Look for instructions on how to complete each step at the bottom of the issue. If the next step doesn't appear, try refreshing the page.
When you are ready to start, close this issue.