https://github.com/davemo/insights-test
Insights Test!
https://github.com/davemo/insights-test
Last synced: about 1 year ago
JSON representation
Insights Test!
- Host: GitHub
- URL: https://github.com/davemo/insights-test
- Owner: davemo
- Created: 2014-02-26T20:26:38.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T01:23:54.000Z (over 4 years ago)
- Last Synced: 2025-04-04T12:07:56.549Z (about 1 year ago)
- Language: JavaScript
- Size: 263 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Fun Exercise!

If you just want to see the raw html, js, css and the app working clone this repo and:
`cd dist`
```shell
python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "8000"
```
`open your browser to localhost:8000`
If you want to see the dev workflow you'll need node.js, and then install lineman
`npm install -g lineman`
`cd insights-test`
`npm install`
`lineman run`
`open your browser to localhost:8000`
Features:
- SCSS compilation, usage of variables, calc
- Angular JS for control flow, dynamic activity
- Good separation of concerns: .html files for templates, .js files for app logic
- Screen transitions without full page reloads!
# TODO
- wrap up icon styling
- wrap up page 2 styling
- unit tests?
- limit the number of selectedInsights to just 4