DEV Community

loading...

NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form example

loizenai
Software Engineer - Founder at https://loizenai.com
・1 min read

https://grokonez.com/node-js/nodejs-express-post-get-to-mysql-using-sequelize-angularjs-bootstrap-form

NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form example

In the tutorial, we show how to POST/GET form data to/from MySQL in NodeJS/Express application using Sequelize with AngularJS & Bootstrap view.

Related posts:

Goal

Technologies

– NodeJS/Express
– Sequelize
– MySQL
– AngularJS
– Bootstrap

We create a NodeJS/Express project as below structure:


/NodeJS-Express-Angular-Bootstrap-MySQL
    /app
        /config
            env.js
            db.config.js
        /controllers
            user.controller.js
        /models
            user.model.js
        /routes
            user.route.js
    /node_modules
    /resources
        /static
            /js 
                controller.js
    /views
        404.html
        index.html
    server.js
    package.json

Run above project then makes POST/GET requests, results:

-> Bootstrap view:

NodeJS-Express-AngularJS-Bootstrap-Sequelize-MySQL-POST-GET-views

More at:

https://grokonez.com/node-js/nodejs-express-post-get-to-mysql-using-sequelize-angularjs-bootstrap-form

NodeJS/Express – POST/GET to MySQL using Sequelize – AngularJS + Bootstrap form example

Discussion (0)