/Study-CRUD-API-Basic-Operations

A handy study in CRUD operations and general endpoint functionality.

Primary LanguageJavaScript

CRUD API Study


What is CRUD API Study?

The "CRUD API Study" explores the basic functionality of Create, Read, Update, and Delete (i.e. CRUD) operations. This study uses a simple blog application as an example to demonstrate CRUD operations which will: CREATE a blog post, READ the blog post, UPDATE the blog post with new or amended information, and DELETE the blog post by removing it from storage.


Does CRUD API Study feature commentary?

Yes! The CRUD API Study features commentary in the server.js, models.js, and blogPostsRouter.js files. For additional insight into routers, please see "express routers study".


What are the key features of the PUT Endpoints Functionality Study?

Since this study is ongoing, basic functionalities are covered first and more advanced features are added or will be added in the future. I divided this particular study into different branches covering different aspects of basic node servers, which i list below:

Features: Feature Notes:
POST request Goes to blog-posts and CREATES posts there
GET request Goes to blog-posts and READS posts
PUT request Goes to blog-posts and UPDATES posts via id
DELETE request Goes to blog-posts and DELETES posts via id