mwalajs 1.0.6 → 1.0.7

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.
@@ -1,227 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <!-- Title of the page for search engines -->
7
- <title>MwalaJS</title>
8
-
9
- <!-- Meta description for better SEO ranking -->
10
- <meta name="description" content="Get detailed help and documentation for MwalaJS framework. Learn how to use MwalaJS commands, structure, installation, and more.">
11
-
12
- <!-- Meta keywords for SEO -->
13
- <meta name="keywords" content="MwalaJS, MVC framework, MwalaJS installation, MwalaJS commands, MwalaJS documentation, web development framework, JavaScript framework, full-stack development">
14
-
15
- <!-- Author information -->
16
- <meta name="author" content="Hekima Ambalile Mwala">
17
-
18
- <!-- Open Graph meta tags for social media optimization -->
19
- <meta property="og:title" content="MwalaJS - Help | Documentation for MVC Framework">
20
- <meta property="og:description" content="Get detailed help and documentation for MwalaJS framework. Learn how to use MwalaJS commands, structure, installation, and more.">
21
- <meta property="og:image" content="path-to-image.jpg"> <!-- Add your image URL for social media previews -->
22
- <meta property="og:url" content="https://yourwebsite.com/help"> <!-- Add your actual website URL here -->
23
-
24
- <!-- Twitter meta tags for better visibility on Twitter -->
25
- <meta name="twitter:title" content="MwalaJS - Help | Documentation for MVC Framework">
26
- <meta name="twitter:description" content="Get detailed help and documentation for MwalaJS framework. Learn how to use MwalaJS commands, structure, installation, and more.">
27
- <meta name="twitter:image" content="path-to-image.jpg">
28
- <meta name="twitter:card" content="summary_large_image">
29
- <meta property="og:url" content="https://mwalajs.biasharabora.com">
30
- <meta property="og:image" content="https://your-website-url.com/images/mwala-logo.png">
31
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
32
-
33
- <!-- Favicon for the website -->
34
- <link rel="icon" href="favicon.ico" type="image/x-icon">
35
-
36
- <!-- Link to external stylesheet -->
37
- <link rel="stylesheet" href="styles.css">
38
-
39
-
40
- <style>
41
-
42
-
43
- body {
44
- font-family: Arial, sans-serif;
45
- margin: 0;
46
- padding: 0;
47
- background-color: #f4f4f4;
48
- }
49
-
50
- h1 {
51
- text-align: center;
52
- color: #333;
53
- }
54
-
55
- .container {
56
- max-width: 1200px;
57
- margin: 0 auto;
58
- padding: 20px;
59
- }
60
-
61
- .help-content {
62
- background-color: #fff;
63
- padding: 20px;
64
- border-radius: 8px;
65
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
66
- }
67
-
68
- pre {
69
- background-color: #2d2d2d;
70
- color: #f4f4f4;
71
- padding: 20px;
72
- border-radius: 8px;
73
- white-space: pre-wrap;
74
- word-wrap: break-word;
75
- }
76
-
77
- .command {
78
- font-weight: bold;
79
- color: #5c5c5c;
80
- }
81
-
82
- @media (max-width: 768px) {
83
- body {
84
- font-size: 14px;
85
- }
86
-
87
- .container {
88
- padding: 10px;
89
- }
90
-
91
- pre {
92
- padding: 15px;
93
- }
94
-
95
- h1 {
96
- font-size: 1.5em;
97
- }
98
- }
99
-
100
- @media (max-width: 480px) {
101
- h1 {
102
- font-size: 1.2em;
103
- }
104
-
105
- pre {
106
- padding: 10px;
107
- }
108
- }
109
- </style>
110
- <link rel="stylesheet" href="styles.css">
111
- <!-- Structured data for better search engine understanding (JSON-LD) -->
112
- <script type="application/ld+json">
113
- {
114
- "@context": "https://schema.org",
115
- "@type": "WebPage",
116
- "name": "MwalaJS Help Documentation",
117
- "description": "Get detailed help and documentation for MwalaJS framework. Learn how to use MwalaJS commands, structure, installation, and more.",
118
- "url": "https://mwalajs.biasharabora.com/setups",
119
- "publisher": {
120
- "@type": "Organization",
121
- "name": "MwalaJS"
122
- }
123
- }
124
- </script>
125
-
126
- </head>
127
- <body>
128
- <!-- Navbar for easy navigation -->
129
- <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
130
- <div class="container-fluid">
131
- <a class="navbar-brand" href="/">MwalaJS</a>
132
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
133
- <span class="navbar-toggler-icon"></span>
134
- </button>
135
- <div class="collapse navbar-collapse" id="navbarNav">
136
- <ul class="navbar-nav">
137
- <li class="nav-item">
138
- <a class="nav-link active" href="steps#overview">Overview</a>
139
- </li>
140
- <li class="nav-item">
141
- <a class="nav-link" href="steps#installation">Installation</a>
142
- </li>
143
- <li class="nav-item">
144
- <a class="nav-link" href="steps#commands">Commands</a>
145
- </li>
146
- <li class="nav-item">
147
- <a class="nav-link" href="steps#structure">Project Structure</a>
148
- </li>
149
- <li class="nav-item">
150
- <a class="nav-link" href="steps#example">Example Application</a>
151
- </li>
152
- <li class="nav-item">
153
- <a class="nav-link" href="steps#conclusion">Conclusion</a>
154
- </li>
155
- </ul>
156
- </div>
157
- </div>
158
- </nav>
159
-
160
- <div class="container">
161
- <h1>MwalaJS Framework Help</h1>
162
- <div class="help-content">
163
- <p>Available commands for MwalaJS framework:</p>
164
- <pre>
165
- . <span class="command">mwala create-project &lt;&gt;</span> - Create a new MVC project. Example: mwala create myapp
166
- . <span class="command">mwala app.mjs</span> - Run the app.mjs file to start your application.
167
- . <span class="command">Database Operations:&gt;</span> - Database commands for various database tasks:
168
- - mwala create-db → Create the database specified in the .env file.
169
- - mwala create-table <name> → Create a specific database table.
170
- - mwala drop-table <name> → Drop a specific database table.
171
- - mwala migrate all → Run all pending migrations.
172
- - mwala rollback all →to undo migration
173
- 4. <span class="command">mwala generate &lt;model/controller/route/view&gt; &lt;name&gt;</span> - Generate various MVC components (models, controllers, routes, and views).
174
- Code Generation:
175
- - mwala generate model <name> → Create a new model.
176
- - mwala generate controller <name> → Create a new controller.
177
- - mwala generate route <name> → Create a new route.
178
- - mwala generate view <name> → Create a new view file.
179
- - mwala generate midware <name> → Create a new middleware.
180
- . <span class="command">mwala serve</span> - Start the server (similar to running "mwala app.mjs" or "node app.mjs").
181
- . <span class="command">mwala help</span> - Show available commands (this command).
182
- . <span class="command">mwala create-table &lt;table_name&gt;</span> - Create a table in the database. Example: mwala create-table users
183
- . <span class="command">mwala drop-table &lt;table_name&gt;</span> - Drop a table from the database. Example: mwala drop-table users
184
- . <span class="command">mwala migrate all</span> - Run migrations on the database. Example: mwala migrate
185
- . <span class="command">mwala rollback all</span> - Rollback the last migration. Example: mwala rollback
186
- </pre>
187
-
188
- <section id="release">
189
- <br> <h2 class="section-title">1. VERSION RELEASE</h2>
190
- <p>Click below to download the installer For Mwalajs framework:</p>
191
- <br><a class="btn" href="https://mwalajs.biasharabora.com/files/mwalaJS_installer.exe" download>Download MwalaJS COMMAND SHELL (CLS) download .exe file here </a>
192
- <br> <p>Click below to download zip file mwalajs framework:</p>
193
- <br> <a class="btn" href="https://mwalajs.biasharabora.com/files/mwalajsm.zip" download>Download MwalaJS mwalajs.zip v1.0.0</a>
194
- <br> <p>Click below to download rar file mwalajs framework :</p>
195
- <br> <a class="btn" href="https://mwalajs.biasharabora.com/files/mwalajsm.rar" download>Download MwalaJS mwalajs.rar v1.0.0</a>
196
-
197
- <br>
198
-
199
- </section>
200
-
201
- </div>
202
- </div>
203
- <ul >
204
- <li c>
205
- <a class="link active" href="/welcome">MWALAJS FRAMEWORK OVERVIEW</a>
206
- </li>
207
- <li >
208
- <a href="/steps">steps to get started</a>
209
- </li>
210
- <li class="nav-item">
211
- <a href="steps#commands">Commands</a>
212
- </li>
213
- <li class="nav-item">
214
- <a href="steps#structure">Project Structure</a>
215
- </li>
216
- <li class="nav-item">
217
- <a href="steps#example">Example Application</a>
218
- </li>
219
- <li class="nav-item">
220
- <a href="/about">about</a>
221
- </li>
222
- </ul>
223
- </body>
224
- </html>
225
-
226
-
227
-
@@ -1 +0,0 @@
1
-