diff --git a/index.js b/index.js index 3f5a756..4044cb9 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,8 @@ import express from 'express'; import ExACT_landingPage from './tests/ExACT_landingPage.js'; //import ExACT_login from './tests/ExACT_login.js'; -//Dashboard + +//DASHBOARDS import correlationsDashboard from './tests/correlationsDashboard.js'; import ExACT_dashboardMyContent from './tests/ExACT_dashboardMyContent.js'; @@ -10,23 +11,32 @@ import ExACT_dashboardSemanticStandardsComparison from './tests/ExACT_dashboardS import dashboardMyStandards from './tests/dashboardMyStandards.js'; import myStandardsSearchAlignedContent from './tests/myStandardsSearchAlignedContent.js'; import myStandardsSearchRelatedStandards from './tests/myStandardsSearchRelatedStandards.js'; -//Content -import ExACT_contentPage from './tests/ExACT_contentPage.js'; -import ExACT_editItem from './tests/ExACT_editItem.js'; -//Align -import alignContentPage from './tests/Align/alignContentPage.js'; -import alignStandardsPage from './tests/Align/alignContentPage.js'; -import alignAutoAlignPage from './tests/Align/alignAutoAlignPage.js'; -import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js'; -import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js'; -//Framework -import frameworkManagementPage from './tests/frameworkManagementPage.js'; +//FRAMEWORKS +import frameworkManagementPage from './tests/Frameworks/frameworkManagementPage.js'; + import ExACT_frameworkPublishingPage from './tests/ExACT_frameworkPublishingPage.js'; import ExACT_frameworkPublishFrameworkDIV from './tests/ExACT_frameworkPublishFrameworkDIV.js'; import ExACT_frameworkFrameworkGroupsDIV from './tests/ExACT_frameworkFrameworkGroupsDIV.js'; import ExACT_frameworkFrameworkSettingsDIV from './tests/ExACT_frameworkFrameworkSettingsDIV.js'; +//ALIGN +import alignContentPage from './tests/Align/alignContentPage.js'; +import alignStandardsPage from './tests/Align/alignStandardsPage.js'; +import alignAutoAlignPage from './tests/Align/alignAutoAlignPage.js'; + +//UPLOAD +import uploadSubmitAResourcePage from './tests/Upload/uploadSubmitAResourcePage.js'; + + +//Content +import ExACT_contentPage from './tests/ExACT_contentPage.js'; +import ExACT_editItem from './tests/ExACT_editItem.js'; + +import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js'; +import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js'; + + const app = express(); app.get('/', (req, res) => { @@ -41,67 +51,87 @@ app.get('/', (req, res) => {

DASHBOARD

Correlations Dashboard
+ + +

FRAMEWORKS

+
Framework Management Page
+ + +

ALIGN

Content Page
Standards Page
AutoAlign Page
+

UPLOAD

+
Upload - Submit A Resource Page
+ + +
`); }) -//Landing: +//EXACT LANDING app.get('/ExACT_landingPage', ExACT_landingPage); //Login //app.get('/ExACT_login', ExACT_login); -//Dashboard + +//DASHBOARDS app.get('/correlationsDashboard', correlationsDashboard); - //My Content - app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent); - app.get('/ExACT_dashboardSemanticStandardsComparison', ExACT_dashboardSemanticStandardsComparison); - app.get('/dashboardMyStandards', dashboardMyStandards); - app.get('/myStandardsSearchAlignedContent', myStandardsSearchAlignedContent); - app.get('/myStandardsSearchRelatedStandards', myStandardsSearchRelatedStandards); + +//FRAMEWORKS +app.get('/frameworkManagementPage', frameworkManagementPage); + +app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage); +app.get('/ExACT_frameworkPublishFrameworkDIV', ExACT_frameworkPublishFrameworkDIV); +app.get('/ExACT_frameworkFrameworkGroupsDIV', ExACT_frameworkFrameworkGroupsDIV); +app.get('/ExACT_frameworkFrameworkSettingsDIV', ExACT_frameworkFrameworkSettingsDIV); + +//ALIGN +app.get('/alignContentPage', alignContentPage); +app.get('/alignStandardsPage', alignStandardsPage); +app.get('/alignAutoAlignPage', alignAutoAlignPage); + +//UPLOAD +app.get('/uploadSubmitAResourcePage', uploadSubmitAResourcePage); + +//My Content +app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent); +app.get('/ExACT_dashboardSemanticStandardsComparison', ExACT_dashboardSemanticStandardsComparison); +app.get('/dashboardMyStandards', dashboardMyStandards); + app.get('/myStandardsSearchAlignedContent', myStandardsSearchAlignedContent); + app.get('/myStandardsSearchRelatedStandards', myStandardsSearchRelatedStandards); + //Content app.get('/ExACT_contentPage', ExACT_contentPage); + //Edit Item app.get('/ExACT_editItem', ExACT_editItem); -//Align - app.get('/alignContentPage', alignContentPage); - app.get('/alignStandardsPage', alignStandardsPage); - app.get('/alignAutoAlignPage', alignAutoAlignPage); app.get('/ExACT_editItemAddConcept', ExACT_editItemAddConcept); app.get('/ExACT_alignConceptsPage', ExACT_alignConceptsPage); -//Framework - app.get('/frameworkManagementPage', frameworkManagementPage); - app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage); - app.get('/ExACT_frameworkPublishFrameworkDIV', ExACT_frameworkPublishFrameworkDIV); - app.get('/ExACT_frameworkFrameworkGroupsDIV', ExACT_frameworkFrameworkGroupsDIV); - app.get('/ExACT_frameworkFrameworkSettingsDIV', ExACT_frameworkFrameworkSettingsDIV); - + app.listen(8000, () => { console.log('Server is up and running on port 8000'); }); \ No newline at end of file