- Added /admin redirect to login page in nginx config - Fixed backend server.js route ordering for proper admin handling - Updated authentication middleware and routes - Added user management routes - Configured PostgreSQL integration - Updated environment configuration
32 lines
838 B
JSON
32 lines
838 B
JSON
{
|
|
"ConnectionStrings": {
|
|
"IdentityConnection": "Data Source=E:\\Documents\\Website Projects\\Sky_Art_Shop\\identity.db"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"MongoDB": {
|
|
"ConnectionString": "mongodb://localhost:27017",
|
|
"DatabaseName": "SkyArtShopDB",
|
|
"Collections": {
|
|
"Pages": "Pages",
|
|
"PortfolioCategories": "PortfolioCategories",
|
|
"PortfolioProjects": "PortfolioProjects",
|
|
"Products": "Products",
|
|
"BlogPosts": "BlogPosts",
|
|
"SiteSettings": "SiteSettings",
|
|
"MenuItems": "MenuItems",
|
|
"Users": "Users"
|
|
}
|
|
},
|
|
"AdminUser": {
|
|
"Email": "admin@skyartshop.com",
|
|
"Password": "Admin123!",
|
|
"Name": "Sky Art Shop Admin"
|
|
}
|
|
}
|