Giải pháp chuyển đổi số trọn gói cho doanh nghiệp Việt

Cấu hình hệ thống - Xây dựng giao diện backend của hệ thống quản lý admin.adayroi.online

Xây dựng giao diện backend của hệ thống quản lý admin.adayroi.online

← Toàn bộ tài liệu


Bước 2: Cấu hình hệ thống

Bài 2/33 Xem dạng sách

Tại thư mục /config

Tạo file settings-local.json

Nội dung file

{
"AppTitle": "admin.adayroi.online",
"backend_template": "default",
"root_url_api": "http://localhost:1114",
"root_url": "http://localhost:1116",
"root_url_frontend": "http://localhost:1112",
"frontend_template": "Cloth",
"debug": false,
"debug_language": true,
"AppDescription": "demo",
"api_pexels": "563492ad6f91700001000001992be1b03ff4490db9249df0e7567340",
"cartLogo": "",
"port": "1116",
"baseUrl": "http://localhost",
"emailHost": "smtp-mail.outlook.com",
"emailPort": 587,
"emailSecure": false,
"emailUser": "hi@markmoffat.com",
"emailPassword": "this_is_the_smtp_password",
"emailAddress": "hi@markmoffat.com",
"menuEnabled": true,
"productsPerRow": 3,
"productsPerPage": 6,
"productsPerRowHomePage": 1,
"menuTitle": "Menu",
"footerHtml": "<h4 class="text-center">Powered by Retreat.club</h4>",
"googleAnalytics": "",
"injectJs": "",
"customCss": "",
"currencySymbol": "đ",
"paymentGateway": "stripe",
"databaseConnectionString": "mongodb://127.0.0.1:27017/admin_adayroi",
"theme": "default",
"trackStock": false,
"orderHook": "",
"availableLanguages": [
"en",
"it"
],
"defaultLocale": "en",
"maxQuantity": 25,
"twitterHandle": "",
"facebookAppId": "",
"modules": {
"enabled": {
"shipping": "shipping-basic",
"discount": "discount-voucher"
},
"loaded": {
"shipping": {},
"discount": {}
}
},
"secretCookie": "f3d5ac396a14e9d18d952ec703ca7fa8f1d4be8f",
"secretSession": "6a88584536235218bee6ea985081c78c822f6490",
"themeViews": "../views/themes/Cloth/",
"env": "development",
"secret": "s0me-secr3t-goes-here"
}

Sơ đồ quan hệ các bảng

Table Name: {{table.name}}
Num Name Type
{{field_index+1}}
{{field.name}} {{field.type}}

Hỏi đáp

Gửi với tên {{comment_full_name}}

Chưa có câu hỏi nào cho bài này.

Zalo 0936.006.058 Hotline 0936.006.058