Skip to content

Commit c4231aa

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update index.js
Co-Authored-By: JehanKandy <jehankandy@gmail.com> Co-Authored-By: Anupa Gamage <125038143+Anupa1998@users.noreply.github.com>
1 parent 3e7694f commit c4231aa

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

index.js

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,34 @@ async function main() {
8282
name: 'selection',
8383
message: 'Select Your Front End :',
8484
choices: ['Uing TailWindCSS', 'Using Custom CSS'],
85+
},
86+
{
87+
type: 'list',
88+
name: 'selection',
89+
message: 'Select Your BackEnd End :',
90+
choices: ['Using MySQL without MVC', 'Using MySQL with MVC'],
8591
}
8692
]);
8793

8894
const { selection } = answers;
8995

9096
switch (selection) {
9197
case 'Uing TailWindCSS':
92-
await RunReactLoginSignInTW();
93-
break;
98+
await RunReactLoginSignInTW();
99+
break;
100+
94101
case 'Using Custom CSS':
95-
console.log('The Custom CSS is Under Developmrnt Please Select TailWind CSS');
96-
break;
102+
await RunReactLoginSignIn();
103+
break;
104+
105+
case 'Using MySQL without MVC':
106+
await RunBackendMysqlNoMVC();
107+
break;
108+
109+
case 'Using MySQL with MVC':
110+
await RunBackendMysqlMVC();
111+
break;
112+
97113
default:
98114
console.log('Invalid selection.');
99115
}

0 commit comments

Comments
 (0)