File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ const destinationAppTW = argv.destination || path.join(process.cwd(), 'src/');
1717const sourcePR = argv . source || path . join ( __dirname , 'PrivateRoute/PrivateRoute.jsx' ) ;
1818const destinationPR = argv . destination || path . join ( process . cwd ( ) , 'src/components/PrivateRoute' ) ;
1919
20+ const sourceBackendMysqlNoMVC = argv . source || path . join ( __dirname , 'BackEndMysqlNoMVC/server' ) ;
21+ const destinationBackendMysqlNoMVC = argv . destination || path . join ( process . cwd ( ) , 'server/' ) ;
22+
23+
2024async function RunReactLoginSignIn ( ) {
2125 try {
2226 await fs . copy ( source , destination ) ;
@@ -42,7 +46,12 @@ async function RunReactLoginSignInTW() {
4246}
4347
4448async function RunBackendMysqlNoMVC ( ) {
45-
49+ try {
50+ await fs . copy ( sourceBackendMysqlNoMVC , destinationBackendMysqlNoMVC ) ;
51+ console . log ( 'Backend Development Enviroment Created Successful' ) ;
52+ } catch ( err ) {
53+ console . error ( 'Error copying folder:' , err ) ;
54+ }
4655}
4756
4857module . exports = {
You can’t perform that action at this time.
0 commit comments