Create a set of API endpoints and introduce some development best practices. Before deploying to Heroku, learn how all the pieces work together when you create a small project using continuous integration and test-driven development. We will use a test-driven development (TDD) approach and set up continuous integration (CI) jobs to automatically run our tests and provide code quality and coverage reports. We will study controllers, models (using PostgreSQL), [b][url=https://zh-cn.awbdirectory.com/]WhatsApp database[/url][/b] error handling and asynchronous Express middleware. Finally, we'll complete the CI/CD pipeline by configuring automated deployment on Heroku. It sounds like a lot, but this tutorial is aimed at beginners who are ready to try a backend project of some complexity and may still be confused about how all the pieces fit together in a real project.
It's powerful without being overwhelming, and is broken into sections you can complete in a reasonable amount of time. Getting started # The first step is to create a new directory for your project and start a new node project. Node is required to continue this tutorial. If you haven't installed it yet, visit the official website, download and install it before proceeding. I will be using yarn as the package manager for this project. There are installation instructions for your specific operating system. Feel free to use npm if you like. Roll up your sleeves and improve your UX skills: Using Intelligent Interface Design Patterns This is Vitaly Friedman's 9-hour video library. Hundreds of real-world examples and live UX training. Free preview. Jump to directory ↬ Function panel Open the terminal, create a new directory, and start the Node.js project.
# create a new directory mkdir express-api-template # change to the newly-created directory cd express-api-template # initialize a new Node.js project npm init Copy and answer the following questions to generate the package.json file. This file contains information about your project. Examples of such information include the dependencies it uses, the command to start the project, etc. You can now open the project folder in the editor of your choice. I use visual studio code. It is a free IDE with tons of plugins to make your life easier, and is available for all major platforms. You can download it from the official website.
刀云免责声明
1、帖子原作者须承担一切因本文发表而直接或间接导致的民事或刑事法律责任。
2、本帖部分内容转载自其它媒体,但并不代表本站赞同其观点和对其真实性负责。
3、如本帖侵犯到任何版权问题,请立即告知本站,本站将及时予与删除并致以最深的歉意。
签名:这个人很懒,什么也没有留下!