Project Configuration
Project configuration of the entire project is governed using the "default.js" file in the config directory.
Directory
JSON Structure
module.exports = {
app : {
port : 5000
},
db: {
host: "localhost",
port : 3306,
/* change your username */
username : "root",
/* change your password */
password : "rootroot",
database : "fashionshop"
},
dataset_filename : "clothing_dataset.csv",
swaggerOptions : {
title : "FashionShop Backend API",
description : "API Endpoints for backend catalog",
version: "1.0",
product_api : "Product API",
pagination_api : "Product Pagination API",
swagger_api_url : "swagger-ui",
}
}SwaggerOptions

Setup Configuration File in Project
Last updated