SHOWALL ENDPOINT ARCHITECTURE

Generate ShowAll
Endpoint Automatically

The ShowAll action generates a complete Express.js GET endpoint architecture automatically. It creates modular route structures, controller layers, service layers, endpoint registration, and JSON data reading architecture using layered backend design.

STEP 3 — Generate journals Table Route

Open:
Api/V1/routes.js

Click:
AddTableName

Enter:
journals

Generated:

Api/V1/journals/

Automatically created:

Config/
routes.js
end-points.js

Generated Commands

After clicking on end-points.js, the extension provides multiple CRUD action commands. Each command generates a different Express API architecture automatically.

get
insert
delete
alter

ShowAll Generation Process

When you click the get command, the ShowAll architecture is generated automatically. The extension creates route files, controller layers, service layers, and endpoint registration.

STEP 1

Open Api/V1/routes.js and create journals table route.

STEP 2

Click AddTableName and enter journals.

STEP 3

journals folder gets generated automatically.

STEP 4

Open end-points.js and click get command.

STEP 5

ShowAll architecture gets generated automatically.

STEP 6

Endpoint becomes available inside Express.js application.

Generated ShowAll Architecture

The extension creates a modular Express.js backend structure using layered architecture. Each layer has a specific responsibility.

Api/
   V1/
      journals/

         Config/

         ShowAll/
            controller.js
            service.js
            errors.js

         Insert/
         Alter/
         Delete/

         end-points.js

      routes.js

routes.js
GET http://localhost:3000/V1/journals/ShowAll

ShowAll Endpoint Flow

The request moves through multiple Express.js backend layers before JSON data is returned.

Browser

User calls ShowAll endpoint.

routes.js

Main Express router receives request.

end-points.js

ShowAll endpoint gets executed.

controller.js

Handles request and response processing.

service.js

Reads journals JSON records.

JSON Response

Records returned back to browser.

Generated Express Endpoint

The ShowAll action creates a GET endpoint automatically inside end-points.js.

router.get('/ShowAll', (req, res) => {

    getFunc({
        res,
        inTableName : 'journals'
    });

});

Why This Architecture?

The extension uses modular architecture for clean Express.js backend development.

Layered Backend

Separates routing, controller logic, service logic, and storage architecture.

Automatic Generation

Generates endpoint structures instantly instead of manually writing repetitive Express code.

Scalable APIs

Easy to create Insert, Delete, Alter, and ShowAll APIs using the same architecture.

Clean Routing

Uses Express Router and modular route connection for better organization.