Example for using swagger API development.
- Linux
- Mysql
- Nodejs (latest version)
Installation guide for Mysql on Ubuntu
Open /api/config/constants.js
and configure the following variables.
exports.DB_USER = "root"; //provide tabase user-name
exports.DB_PASSWORD = "root"; //provide database password
exports.DB_TABLE_NAME = "tokens"; //provide database name
exports.DB_DATABASE_NAME = "catalyst"; //provide database table-name
Run the following command inside the root directory.
$ npm install
$ node app.js
Inside client
directory, open the index.html
file to start client execution.