![]() They just need to know that it’s available for use in their app.Īn API does not have to be web-based. The developer doesn’t necessarily need to know how, for example, an operating system builds and presents a “Save As” dialog box. ![]() Similarly, an API lists a bunch of operations that developers can use, along with a description of what they do. You don’t know exactly how the restaurant prepares that food, and you don’t really need to. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. The menu provides a list of dishes you can order, along with a description of each dish. Think of an API like a menu in a restaurant. Read this description of what an API from How To Geek. You can use this Express Cheatsheet to help you.ĪPI stands for Application Programming Interface. If you think about it, this is what most applications do:īelow are three in-class exercises which can be used to demonstrate parts of the API workshop below. CRUD stands for Create, Retrieve, Update, Delete. So what will we build? we will build a CRUD API. Remember, your whole presentation should be no more than 120 seconds! 2) CRUD Continued ![]() Split into groups of 2-4 people and present what you have learnt. Install a third party library using npmĪs part of last weeks homework we asked you to prepare a very short presentation on what you learnt last week.Process a DELETE request using Express and Node to remove data from memory.Process a POST request using Express and Node and store data in memory.Process a GET request using Express and Node to retrieve data from memory.Define what each part of CRUD is and what it does.By the end of this lesson trainees should be able to:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |