diff --git a/package-lock.json b/package-lock.json index 05c7d5b..34ab228 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1500,6 +1500,15 @@ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=" }, + "cookie-parser": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.3.tgz", + "integrity": "sha1-D+MfoZ0AC5X0qt8fU/3CuKIDuqU=", + "requires": { + "cookie": "0.3.1", + "cookie-signature": "1.0.6" + } + }, "cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", diff --git a/package.json b/package.json index 193e042..60734fa 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ }, "dependencies": { "body-parser": "^1.18.3", + "cookie-parser": "^1.4.3", "env2": "^2.2.2", "express": "^4.16.3", "express-handlebars": "^3.0.0", diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index d820bf4..fe892b2 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -702,6 +702,9 @@ progress[value]::-moz-progress-bar { align-items: center; justify-content: center; } +.flex-column { + flex-direction: column; } + .eight-padding { padding: 8px; } diff --git a/public/stylesheets/main.css.map b/public/stylesheets/main.css.map index 0e1ab88..384dc4f 100644 --- a/public/stylesheets/main.css.map +++ b/public/stylesheets/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAaQ,qFAA6E;AAXrF,CAAE;EACE,UAAU,EAAE,UAAU;EACtB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;;ACAX,oBAAqB;ECUrB,WAAW,ECAO,wBAAsB;EDCxC,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EA2ClC,WAAW,EAAE,GAAmD;EA8E5D,SAAS,EALC,IAAsC;EAO9C,SAAS,EANG,IAA0C;EAQxD,WAAW,EAPC,IAAw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,UAAU,EAAE,KAAK;;AAUrB,SAAU;EkBwTT,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,IAAI;EAWV,WAAW,EAAE,KAAkB;EAclC,IAAI,EAAE,CAAC;EAvBP,YAAa;IlB5Td,SAAU;MkB6TR,OAAO,EAAE,OAAO;EXlRV,2BAAqC;IP3C7C,SAAU;MkBwUL,WAAW,EAAE,KAA8B;EAvU7C,eAAgB;IlBDnB,SAAU;MkB8UP,WAAW,EAAE,KAAsC;EAOrD,iCACQ;IACP,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,IAAI;EAEd,eAAQ;IACP,KAAK,EAAE,IAAI;;AlBtVb,QAAS;EACL,KAAK,EAAE,GAAG;EACV,MAAM,EAAE,MAAc;;AAK1B,IAAK;EACD,KAAK,EAAE,IAAI;;AAKf,GAAI;EAEI,aAAM,EArKA,GAAG;EAuKb,KAAK,EAtKK,GAAG;EAuKb,SAAS,EAAE,GAAG;;AAIlB,QAAS;EACL,OAAO,EAAE,CAAC;EACV,cAAc,EAAE,aAAa;EAC7B,yBAAyB,EAAE,CAAC;EAC5B,yBAAyB,EAAE,OAAO;EAClC,kBAAkB,EAAE,EAAE;;AAG1B,wBAOC;EANG,EAAG;IACC,OAAO,EAAE,CAAC;EAEd,IAAK;IACD,OAAO,EAAE,CAAC", "sources": ["main.scss","../../node_modules/govuk-frontend/components/error-message/_error-message.scss","../../node_modules/govuk-frontend/helpers/_typography.scss","../../node_modules/govuk-frontend/settings/_typography-font.scss","../../node_modules/govuk-frontend/settings/_spacing.scss","../../node_modules/govuk-frontend/settings/_colours-applied.scss","../../node_modules/govuk-frontend/helpers/_font-faces.scss","../../node_modules/govuk-frontend/vendor/_sass-mq.scss","../../node_modules/govuk-frontend/components/fieldset/_fieldset.scss","../../node_modules/govuk-frontend/helpers/_clearfix.scss","../../node_modules/govuk-frontend/components/hint/_hint.scss","../../node_modules/govuk-frontend/components/label/_label.scss","../../node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss","../../node_modules/govuk-frontend/settings/_measurements.scss","../../node_modules/govuk-frontend/helpers/_spacing.scss","../../node_modules/govuk-frontend/components/button/_button.scss","../../node_modules/govuk-frontend/helpers/_focusable.scss","../../node_modules/govuk-frontend/helpers/_device-pixels.scss","bower_components/o-grid/src/scss/_main.scss","bower_components/o-grid/src/scss/_variables.scss"], "names": [], "file": "main.css" diff --git a/public/stylesheets/main.scss b/public/stylesheets/main.scss index ae14184..4beba49 100644 --- a/public/stylesheets/main.scss +++ b/public/stylesheets/main.scss @@ -153,6 +153,10 @@ progress[value]::-moz-progress-bar { justify-content: center; } +.flex-column { + flex-direction: column; +} + .eight-padding { padding: 8px; } diff --git a/src/app.js b/src/app.js index 2557a26..b69bb55 100644 --- a/src/app.js +++ b/src/app.js @@ -5,6 +5,7 @@ const path = require('path'); const controllers = require('./controllers/index.js'); // const helpers = require('./views/helpers/index.js'); // const favicon = require('serve-favicon'); +const cookieParser = require('cookie-parser'); const app = express(); @@ -32,6 +33,8 @@ app.use(sassMiddleware({ prefix: '/stylesheets' })); app.use(express.static(path.join(__dirname, '..', 'public'))); +// add cookie parser, needs to come before controllers so cookies are parsed before routes are rendered +app.use(cookieParser()); app.use(controllers); module.exports = app; \ No newline at end of file diff --git a/src/controllers/results.js b/src/controllers/results.js index c90cb19..66ed179 100644 --- a/src/controllers/results.js +++ b/src/controllers/results.js @@ -3,6 +3,7 @@ exports.get = (req, res) => { layout: 'scrollable', progressamt: '100', title: 'Results', - pageInfo: 'Based on the checkboxes you have selected, here are your results.' + pageInfo: 'Based on the checkboxes you have selected, here are your results.', + results: req.cookies.tastyResultsCookie }); } \ No newline at end of file diff --git a/src/controllers/sendinfo.js b/src/controllers/sendinfo.js index 4aaaa80..da9365f 100644 --- a/src/controllers/sendinfo.js +++ b/src/controllers/sendinfo.js @@ -13,14 +13,18 @@ exports.post = (req, response) => { console.log('resultArray', resultArray); const outArray = filterByType(resultArray); console.log('OUTPUT ARRAY', outArray); - //res.render('results', {outArray}); - response.send(outArray); + //store the response in a cookie as a stringified object + response.cookie('tastyResultsCookie', outArray) + // then redirect to the results page + response.redirect('/results'); }) .catch(err => console.log(err)); function filterByType(inArray) { - const types = ['meetup', 'online course', 'article', 'classroom course']; - const outArr = [] + const types = ['meetup', 'online course', 'article', 'classroom course', 'mentor']; + //change from Arr to Obj because having trouble accessing arr + // const outArr = [] + const outArr = {} types.forEach(mytype => { //outArr[meetup]= filtered result // setting keys to values from filter function diff --git a/src/database/db_build.sql b/src/database/db_build.sql index 6cdab41..04de60f 100644 --- a/src/database/db_build.sql +++ b/src/database/db_build.sql @@ -8,7 +8,7 @@ DROP TYPE IF EXISTS e_resource_type CASCADE; DROP TYPE IF EXISTS e_demographic_tag_name CASCADE; DROP TYPE IF EXISTS e_relevance CASCADE; -CREATE TYPE e_resource_type AS ENUM ('meetup', 'online course', 'article', 'classroom course' ); +CREATE TYPE e_resource_type AS ENUM ('meetup', 'online course', 'article', 'classroom course', 'mentor'); CREATE TABLE resource ( resource_id SERIAL PRIMARY KEY, diff --git a/src/views/results.hbs b/src/views/results.hbs index c82eb62..c285506 100644 --- a/src/views/results.hbs +++ b/src/views/results.hbs @@ -1,6 +1,43 @@
-
-

WE GOT NUTHIN

+
+ {{#with results}} +
+

meetups

+ +
    + {{#if meetup}} + {{#each meetup}} +
  • + {{#with resource_name}} + {{this}} + {{/with}} + {{#with url}} + {{this}} + {{/with}} +
  • + {{/each}} + {{/if}} +
+
+
+

articles

+ +
    + {{#if article}} + {{#each article}} +
  • + {{#with resource_name}} + {{this}} + {{/with}} + {{#with url}} + {{this}} + {{/with}} +
  • + {{/each}} + {{/if}} +
+
+ {{/with}}