Starter code for Node API 2 Le
Node API 2 Guided Project Starter Code
Guided project starter code for Node API 2 module.
In this project we will learn how to create a very simple Web API using Node.js
and Express
, and cover how to use Express Routers
to break up the application to make it more maintainable.
npm i
to download dependencies.
Please follow along as the instructor builds the API step by step:
Not using REST | Using REST |
---|---|
POST http://localhost:9000/listAllAdopters |
GET http://localhost:9000/adopters |
POST http://localhost:9000/createAdopter |
POST http://localhost:9000/adopters |
POST http://localhost:9000/updateAdopter |
PUT http://localhost:9000/adopters/:id |
POST http://localhost:9000/deleteAdopter |
DELETE http://localhost:9000/adopters/:id |
POST http://localhost:9000/listAdopterDogs |
GET http://localhost:9000/adopters/:id/dogs |
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。