ApiLogicServer 15.0.35__py3-none-any.whl → 15.0.38__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. api_logic_server_cli/api_logic_server.py +2 -2
  2. api_logic_server_cli/api_logic_server_info.yaml +3 -3
  3. api_logic_server_cli/genai/genai_svcs.py +4 -3
  4. api_logic_server_cli/manager.py +7 -5
  5. api_logic_server_cli/prototypes/base/docs/training/react_map.prompt.md +13 -0
  6. api_logic_server_cli/prototypes/base/docs/training/react_tree.prompt.md +10 -0
  7. api_logic_server_cli/prototypes/base/integration/mcp/examples/mcp_context_results.txt +142 -0
  8. api_logic_server_cli/prototypes/base/integration/mcp/mcp_client_executor.py +65 -29
  9. api_logic_server_cli/prototypes/manager/system/Manager_workspace.code-workspace +3 -3
  10. api_logic_server_cli/prototypes/manager/system/genai/app_templates/app_learning/Admin-App-Resource-Learning-Prompt.md +3 -2
  11. api_logic_server_cli/prototypes/manager/system/genai/app_templates/app_learning/Admin-App-js-Learning-Prompt.md +4 -14
  12. api_logic_server_cli/prototypes/nw/api/api_discovery/authentication_expose_api_models.py +53 -0
  13. api_logic_server_cli/prototypes/nw/api/api_discovery/auto_discovery.py +27 -0
  14. api_logic_server_cli/prototypes/nw/api/api_discovery/count_orders_by_month.html +76 -0
  15. api_logic_server_cli/prototypes/nw/api/api_discovery/count_orders_by_month.sql +1 -0
  16. api_logic_server_cli/prototypes/nw/api/api_discovery/dashboard_services.py +143 -0
  17. api_logic_server_cli/prototypes/nw/api/api_discovery/mcp_discovery.py +97 -0
  18. api_logic_server_cli/prototypes/nw/api/api_discovery/new_service.py +21 -0
  19. api_logic_server_cli/prototypes/nw/api/api_discovery/newer_service.py +21 -0
  20. api_logic_server_cli/prototypes/nw/api/api_discovery/number_of_sales_per_category.html +76 -0
  21. api_logic_server_cli/prototypes/nw/api/api_discovery/number_of_sales_per_category.sql +1 -0
  22. api_logic_server_cli/prototypes/nw/api/api_discovery/ontimize_api.py +495 -0
  23. api_logic_server_cli/prototypes/nw/api/api_discovery/sales_by_category.html +76 -0
  24. api_logic_server_cli/prototypes/nw/api/api_discovery/sales_by_category.sql +1 -0
  25. api_logic_server_cli/prototypes/nw/api/api_discovery/system.py +77 -0
  26. api_logic_server_cli/prototypes/nw/database/database_discovery/graphics_services.py +173 -0
  27. api_logic_server_cli/prototypes/nw/ui/admin/home.js +5 -0
  28. api_logic_server_cli/prototypes/nw/ui/reference_react_app/DEPARTMENT_TREE_VIEW.md +66 -0
  29. api_logic_server_cli/prototypes/nw/ui/reference_react_app/package.json +4 -0
  30. api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/index.html +3 -0
  31. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/App.js +8 -1
  32. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/CustomLayout.js +20 -0
  33. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Department.js +511 -24
  34. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/DepartmentTree.js +147 -0
  35. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Employee.js +230 -18
  36. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/LandingPage.js +264 -0
  37. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Supplier.js +359 -121
  38. api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/index.js +1 -0
  39. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/METADATA +1 -1
  40. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/RECORD +44 -23
  41. api_logic_server_cli/prototypes/base/docs/training/admin_app_unused.md +0 -156
  42. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/WHEEL +0 -0
  43. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/entry_points.txt +0 -0
  44. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/licenses/LICENSE +0 -0
  45. {apilogicserver-15.0.35.dist-info → apilogicserver-15.0.38.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,264 @@
1
+ import React from 'react';
2
+ import {
3
+ Card,
4
+ CardContent,
5
+ Typography,
6
+ Box,
7
+ Grid,
8
+ Paper,
9
+ List,
10
+ ListItem,
11
+ ListItemText,
12
+ Chip
13
+ } from '@mui/material';
14
+
15
+ const LandingPage = () => {
16
+ return (
17
+ <Box sx={{ p: 3 }}>
18
+ {/* Dashboard iframe at the top */}
19
+ <Card sx={{ mb: 4 }}>
20
+ <CardContent>
21
+ <Typography variant="h5" gutterBottom>
22
+ Dashboard Overview
23
+ </Typography>
24
+ <Box sx={{
25
+ border: '1px solid #ddd',
26
+ borderRadius: 1,
27
+ overflow: 'hidden',
28
+ height: 250
29
+ }}>
30
+ <iframe
31
+ id="iframeTargetDashboard"
32
+ src="http://localhost:5656/dashboard"
33
+ style={{
34
+ flex: 1,
35
+ border: 'none',
36
+ width: '100%',
37
+ height: '100%'
38
+ }}
39
+ title="API Logic Server Dashboard"
40
+ />
41
+ </Box>
42
+ </CardContent>
43
+ </Card>
44
+
45
+ {/* Architecture Overview */}
46
+ <Typography variant="h3" component="h1" gutterBottom align="center" sx={{ mb: 4 }}>
47
+ GenAI-Logic Architecture
48
+ </Typography>
49
+
50
+ <Typography variant="h6" paragraph align="center" sx={{ mb: 4, color: 'text.secondary' }}>
51
+ Complete Microservice Automation - From Database to Running System
52
+ </Typography>
53
+
54
+ {/* Key Features Grid */}
55
+ <Grid container spacing={3} sx={{ mb: 4 }}>
56
+ <Grid item xs={12} md={6} lg={3}>
57
+ <Paper sx={{ p: 3, textAlign: 'center', height: '100%' }}>
58
+ <Typography variant="h2" sx={{ fontSize: 48, color: 'primary.main', mb: 2 }}>
59
+ 🔌
60
+ </Typography>
61
+ <Typography variant="h6" gutterBottom>
62
+ Self-Serve API
63
+ </Typography>
64
+ <Typography variant="body2" color="text.secondary">
65
+ JSON:API with filtering, sorting, pagination, and related data access
66
+ </Typography>
67
+ </Paper>
68
+ </Grid>
69
+
70
+ <Grid item xs={12} md={6} lg={3}>
71
+ <Paper sx={{ p: 3, textAlign: 'center', height: '100%' }}>
72
+ <Typography variant="h2" sx={{ fontSize: 48, color: 'primary.main', mb: 2 }}>
73
+ 📊
74
+ </Typography>
75
+ <Typography variant="h6" gutterBottom>
76
+ Admin App
77
+ </Typography>
78
+ <Typography variant="body2" color="text.secondary">
79
+ Multi-page, multi-table with automatic joins for business collaboration
80
+ </Typography>
81
+ </Paper>
82
+ </Grid>
83
+
84
+ <Grid item xs={12} md={6} lg={3}>
85
+ <Paper sx={{ p: 3, textAlign: 'center', height: '100%' }}>
86
+ <Typography variant="h2" sx={{ fontSize: 48, color: 'primary.main', mb: 2 }}>
87
+
88
+ </Typography>
89
+ <Typography variant="h6" gutterBottom>
90
+ Business Logic
91
+ </Typography>
92
+ <Typography variant="body2" color="text.secondary">
93
+ Spreadsheet-like rules for multi-table derivations and constraints
94
+ </Typography>
95
+ </Paper>
96
+ </Grid>
97
+
98
+ <Grid item xs={12} md={6} lg={3}>
99
+ <Paper sx={{ p: 3, textAlign: 'center', height: '100%' }}>
100
+ <Typography variant="h2" sx={{ fontSize: 48, color: 'primary.main', mb: 2 }}>
101
+ 🔐
102
+ </Typography>
103
+ <Typography variant="h6" gutterBottom>
104
+ Security
105
+ </Typography>
106
+ <Typography variant="body2" color="text.secondary">
107
+ Authentication and row-level authorization with role-based access
108
+ </Typography>
109
+ </Paper>
110
+ </Grid>
111
+ </Grid>
112
+
113
+ {/* Architecture Layers */}
114
+ <Grid container spacing={3}>
115
+ <Grid item xs={12} lg={8}>
116
+ <Card>
117
+ <CardContent>
118
+ <Typography variant="h5" gutterBottom>
119
+ Architecture Layers
120
+ </Typography>
121
+
122
+ <Box sx={{ mb: 3 }}>
123
+ <Typography variant="h6" gutterBottom>
124
+ 🗄️ Data Layer
125
+ </Typography>
126
+ <Typography variant="body2" paragraph>
127
+ SQLAlchemy models automatically created from your database schema.
128
+ Supports SQLite, PostgreSQL, MySQL, SQL Server, Oracle and more.
129
+ </Typography>
130
+ </Box>
131
+
132
+ <Box sx={{ mb: 3 }}>
133
+ <Typography variant="h6" gutterBottom>
134
+ ⚡ Logic Layer
135
+ </Typography>
136
+ <Typography variant="body2" paragraph>
137
+ Declarative business rules that are 40X more concise than code.
138
+ Automatic dependency ordering and optimization. Extensible with Python.
139
+ </Typography>
140
+ </Box>
141
+
142
+ <Box sx={{ mb: 3 }}>
143
+ <Typography variant="h6" gutterBottom>
144
+ 🔌 API Layer
145
+ </Typography>
146
+ <Typography variant="body2" paragraph>
147
+ REST and JSON:API endpoints with Swagger documentation.
148
+ Self-serve capabilities for ad-hoc integration.
149
+ </Typography>
150
+ </Box>
151
+
152
+ <Box sx={{ mb: 3 }}>
153
+ <Typography variant="h6" gutterBottom>
154
+ 📊 UI Layer
155
+ </Typography>
156
+ <Typography variant="body2" paragraph>
157
+ Multi-page Admin App with automatic joins and responsive design.
158
+ React-based reference implementation included.
159
+ </Typography>
160
+ </Box>
161
+ </CardContent>
162
+ </Card>
163
+ </Grid>
164
+
165
+ <Grid item xs={12} lg={4}>
166
+ <Card>
167
+ <CardContent>
168
+ <Typography variant="h5" gutterBottom>
169
+ Key Benefits
170
+ </Typography>
171
+
172
+ <List dense>
173
+ <ListItem>
174
+ <ListItemText
175
+ primary="⚡ Instant Working Software"
176
+ secondary="From database to running system in minutes"
177
+ />
178
+ </ListItem>
179
+
180
+ <ListItem>
181
+ <ListItemText
182
+ primary="🔧 Fully Customizable"
183
+ secondary="Extensible with Python, React, and standard tools"
184
+ />
185
+ </ListItem>
186
+
187
+ <ListItem>
188
+ <ListItemText
189
+ primary="🔗 Integration Ready"
190
+ secondary="B2B APIs, messaging, and microservice patterns"
191
+ />
192
+ </ListItem>
193
+ </List>
194
+
195
+ <Box sx={{ mt: 3 }}>
196
+ <Typography variant="h6" gutterBottom>
197
+ Technologies
198
+ </Typography>
199
+ <Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
200
+ <Chip label="Python" size="small" />
201
+ <Chip label="SQLAlchemy" size="small" />
202
+ <Chip label="Flask" size="small" />
203
+ <Chip label="React" size="small" />
204
+ <Chip label="Material-UI" size="small" />
205
+ <Chip label="JSON:API" size="small" />
206
+ <Chip label="Swagger" size="small" />
207
+ </Box>
208
+ </Box>
209
+ </CardContent>
210
+ </Card>
211
+ </Grid>
212
+ </Grid>
213
+
214
+ {/* Quick Links */}
215
+ <Card sx={{ mt: 4 }}>
216
+ <CardContent>
217
+ <Typography variant="h5" gutterBottom>
218
+ Quick Links
219
+ </Typography>
220
+ <Grid container spacing={2}>
221
+ <Grid item xs={12} sm={6} md={3}>
222
+ <Box sx={{ textAlign: 'center' }}>
223
+ <Typography variant="h6">
224
+ <a href="http://localhost:5656/" target="_blank" rel="noopener noreferrer">
225
+ Admin App
226
+ </a>
227
+ </Typography>
228
+ <Typography variant="body2" color="text.secondary">
229
+ Multi-page business user interface
230
+ </Typography>
231
+ </Box>
232
+ </Grid>
233
+ <Grid item xs={12} sm={6} md={3}>
234
+ <Box sx={{ textAlign: 'center' }}>
235
+ <Typography variant="h6">
236
+ <a href="http://localhost:5656/api" target="_blank" rel="noopener noreferrer">
237
+ API Explorer
238
+ </a>
239
+ </Typography>
240
+ <Typography variant="body2" color="text.secondary">
241
+ Swagger documentation and testing
242
+ </Typography>
243
+ </Box>
244
+ </Grid>
245
+ <Grid item xs={12} sm={6} md={3}>
246
+ <Box sx={{ textAlign: 'center' }}>
247
+ <Typography variant="h6">
248
+ <a href="https://apilogicserver.github.io/Docs/" target="_blank" rel="noopener noreferrer">
249
+ Documentation
250
+ </a>
251
+ </Typography>
252
+ <Typography variant="body2" color="text.secondary">
253
+ Complete guides and tutorials
254
+ </Typography>
255
+ </Box>
256
+ </Grid>
257
+ </Grid>
258
+ </CardContent>
259
+ </Card>
260
+ </Box>
261
+ );
262
+ };
263
+
264
+ export default LandingPage;