Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 437 Bytes

Angular-Creating-A-New-API-Endpoint.md

File metadata and controls

9 lines (6 loc) · 437 Bytes

Create a new API endpoint in Angular

>> yo angular-fullstack:endpoint whatsit

Using this line, you get Yeoman to automatically generate another API endpoint and new kind of collection for your database. Now we have things as well as whatsits! Feel free to open up /server/api/whatsit/whatsit.model.js and define your whatsit however you like.

PREVIOUS NEXT