DEV Community

loizenai
loizenai

Posted on

NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery example

https://grokonez.com/frontend/nodejs-express-rest-apis-bootstrap-table-ajax-jquery

NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery example

In the tutorial, we show how to use Bootstrap Table & Ajax JQuery to show data from NodeJS/Express RestAPIs.

Related posts:

Goal

We create a NodeJS/Express project as below structure:


/NodeJS-Express-Ajax-JQuery-Bootstrap-Table
    /app
        /controllers
            customer.controller.js
        /routes
            customer.route.js
    /node_modules
    /resources
        /static
            /jquery
                ajaxLoadData.js
    /views
        404.html
        index.html
    package.json
    package-lock.json
    server.js

Run above project then makes a request http://localhost:8081:

-> Bootstrap view:

NodeJS-Express-Ajax-JQuery-Bootstrap-Table-view

Practice

Setting up NodeJS/Express project

Create a folder 'NodeJS-Express-Ajax-JQuery-Bootstrap-Table':

More at:

https://grokonez.com/frontend/nodejs-express-rest-apis-bootstrap-table-ajax-jquery

NodeJS/Express Rest APIs + Bootstrap Table + Ajax JQuery example

Top comments (0)