Files
freeCodeCamp/guide/chinese/miscellaneous/create-a-new-api-endpoint-in-angular/index.md
2018-10-16 21:32:40 +05:30

7 lines
382 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Create a New Api Endpoint in Angular
localeTitle: 在Angular中创建一个新的Api端点
---
> > yo angular-fullstack端点whatsit
使用此行您可以让Yeoman自动为您的数据库生成另一个API端点和新类型的集合。现在我们有_东西_和_whatsits_ !随意打开**/server/api/whatsit/whatsit.model.js**并根据需要定义你的whatsit。