NodeJS // MySQL // Swagger // REST-API
This example demonstrates how to combine NodeJS and MySQL via a RESTful application.
Dependencies
- Node
- MySQL Server
Installation
git clone https://github.com/mingw-io/nodejs-mysql-swagger
Steps
-
Start MySQL Server (mysqld.exe on Windows)
-
Create database & table (01_create_db.sql)
-
Populate database with sample data (02_populate_table.sql)
-
Start NodeJS server
-
Verify the NodeJS app: http://localhost:8080/
Screenshots