@@ -32,34 +32,39 @@ const SidebarContainer = React.memo(() => {
3232
3333 setExample ( true )
3434
35- // const examplesData = {
36- // microServicesFields: {
37- // typeOfService: 'Microservices',
38- // database: 'MongoDB',
39- // URI: "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5",
40- // name: 'Microservices',
41- // description: 'Example'
42- // },
43-
44- // ,
45- // dockerData: {
46- // typeOfService: 'Docker',
47- // database: 'MongoDB',
48- // URI: "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5",
49- // name: 'Docker',
50- // description: 'Example'
51- // }
52- // }
53-
54- const fields = {
55- typeOfService : 'Microservices' ,
56- database : 'MongoDB' ,
57- URI : "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5" ,
58- name : 'Microservices' ,
59- description : 'Example'
35+ const examplesData = {
36+ microServicesMongoFields : {
37+ typeOfService : 'Microservices' ,
38+ database : 'MongoDB' ,
39+ URI : "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5" ,
40+ name : 'Microservices-Mongo' ,
41+ description : 'Mongo Microservices Example'
42+ } ,
43+ microServicesSQLFields : {
44+ typeOfService : 'Microservices' ,
45+ database : 'SQL' ,
46+ URI : "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5" ,
47+ name : 'Microservices-SQL' ,
48+ description : 'SQL Microservices Example'
49+ }
50+ ,
51+ dockerMongoData : {
52+ typeOfService : 'Docker' ,
53+ database : 'MongoDB' ,
54+ URI : "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5" ,
55+ name : 'Docker-Mongo' ,
56+ description : 'Docker Example'
57+ } ,
58+ dockerSQLData : {
59+ typeOfService : 'Docker' ,
60+ database : 'SQL' ,
61+ URI : "mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5" ,
62+ name : 'Docker-SQL' ,
63+ description : 'Docker Example'
64+ }
6065 }
6166
62- addApp ( fields )
67+ addApp ( examplesData )
6368 }
6469
6570 const handleExitExample = ( ) => {
0 commit comments