Folder Structure - Wertik

Folder structure - Rest API

A guide how Wertik initializes Rest API.

This is the file(restApi/index.ts) where Rest API is initialized. Now there are two things in rest API.

  • Crud for Generators
  • Custom API

Crud Generator

This is the file(restApi/loadAllModules.ts) where CRUD is generated for Rest API for modules. And that's it for CRUD generators.

Custom API

This is the file(restApi/customAPI.ts) custom API is initialized, For more please see Configuration page.

If you have any suggestions, Please open an issue here and let us know.