Writing Advance REST API in node.js

November 25, 2022

In this article we will develop advance REST API, it will support fields selection, filtering, sorting, pagination and CRUD operations.

in order to follow this tutorial, you should have hands-on experience on JavaScript, nodejs, express.js, MySQL. and should know about HTTP protocol, client-server model.

this tutorial will be divided into multiple articles, where we will explain each topic in detail.

for this project we will use following technology:-

  • nodejs and express js
  • mysql with knex library.
  • JOI library for validation

Table of content

  • What Is REST API ??
  • Application setup.
  • Basic CRUD Operations. – coming soon
  • Validation and Error handling. – coming soon
  • field selection, filtering, searching, sorting, pagination and more – coming soon
  • How to secure API. – coming soon
  • How to cache API. – coming soon