Skip to content

Commit c1dbfd7

Browse files
authored
Merge pull request #12 from Narshe1412/sprint1
Sprint1 Finished
2 parents 2efed26 + bf688a1 commit c1dbfd7

36 files changed

+771
-153
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
dist: trusty
2+
sudo: false
3+
4+
language: node_js
5+
node_js:
6+
- '10'
7+
8+
addons:
9+
apt:
10+
sources:
11+
- google-chrome
12+
packages:
13+
- google-chrome-stable
14+
sonarcloud:
15+
organization: 'narshe1412-github' # the key of the org you chose at step #3
16+
# token:
17+
# secure: SONAR_TOKEN # encrypted value of your token
18+
19+
cache:
20+
directories:
21+
- ./node_modules
22+
23+
install:
24+
- npm install
25+
26+
script:
27+
# - npm run test -- --watch=false --no-progress --browsers=ChromeHeadlessNoSandbox
28+
- npm run cibuild
29+
- sonar-scanner

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Algorithm Benchmarks
22

3+
[![Build Status](https://travis-ci.com/Narshe1412/Code-Institute-User-Centric-Algorithms.svg?branch=master)](https://travis-ci.com/Narshe1412/Code-Institute-User-Centric-Algorithms)
4+
35
As a programmer you need to always leverage between several possible different solutions the one that would be most efficient. One common problem is the sorting, inserting or accessing data. To solve this problem, along programming history, several algorithms have been created. This project attempts to help a fellow programmer to choose which algorithm shall be used by providing a benchmarking operationg and plotting the results in a variety of graphs.
46

57
## UX
@@ -20,24 +22,23 @@ It is also expected that the website will be desktop-first, as the main audience
2022

2123
### Wireframes
2224

23-
This section is also where you would share links to any wireframes, mockups, diagrams etc. that you created as part of the design process. These files should themselves either be included in the project itself (in an separate directory), or just hosted elsewhere online and can be in any format that is viewable inside the browser.
25+
Basic Wireframe Setup for Mobile view and Desktop View
26+
![Desktop first design](docs/img/desktop.png 'Desktop design')
27+
![Mobile design](docs/img/mobile.png 'Mobile design')
2428

2529
## Features
2630

27-
In this section, you should go over the different parts of your project, and describe each in a sentence or so.
28-
2931
### Existing Features
3032

31-
- Feature 1 - allows users X to achieve Y, by having them fill out Z
32-
- ...
33-
34-
For some/all of your features, you may choose to reference the specific project files that implement them, although this is entirely optional.
35-
36-
In addition, you may also use this section to discuss plans for additional features to be implemented in the future:
33+
- Benchmark Statistics: Plot the statistics of previous runs in charts so it's easy to compare between different algorithm results.
34+
- Run Algorithms: Allow the user to run different algorithms in their own computer in order to obtain more realistic benchmarks.
35+
- Setup: Allow the user to change the settings of specific portions of the application like colours, the type of graphs, etc...
3736

38-
### Features Left to Implement
37+
### Features For Future Revisions of the Project
3938

40-
- Another feature idea
39+
- Other type of algorithms (accessors, indexing, data structures, etc...)
40+
- Option to run the algorithms out of the browser using the full capabilities of the computer's processors.
41+
- Option to run algorithms in a VM on a cloud provider, to obtain a best-case computer setups.
4142

4243
## Technologies Used
4344

@@ -103,3 +104,4 @@ In addition, if it is not obvious, you should also describe how to run your code
103104
- Algorithm Implementations: https://khan4019.github.io/front-end-Interview-Questions/sort.html
104105
- https://dev.to/wangonya/sorting-algorithms-with-javascript-part-1-4aca
105106
- https://dev.to/wangonya/sorting-algorithms-with-javascript-part-2-3g51
107+
- http://bigocheatsheet.com/

angular.json

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
10-
"style": "sass"
10+
"style": "scss"
1111
}
1212
},
1313
"root": "",
@@ -23,14 +23,13 @@
2323
"polyfills": "src/polyfills.ts",
2424
"tsConfig": "tsconfig.app.json",
2525
"aot": false,
26-
"assets": [
27-
"src/favicon.ico",
28-
"src/assets"
29-
],
30-
"styles": [
31-
"src/styles.sass"
32-
],
33-
"scripts": []
26+
"assets": ["src/favicon.ico", "src/assets"],
27+
"styles": ["src/styles.scss", "node_modules/bootstrap/dist/css/bootstrap.min.css"],
28+
"scripts": [
29+
"node_modules/jquery/dist/jquery.min.js",
30+
"node_modules/popper.js/dist/umd/popper.min.js",
31+
"node_modules/bootstrap/dist/js/bootstrap.min.js"
32+
]
3433
},
3534
"configurations": {
3635
"production": {
@@ -83,27 +82,16 @@
8382
"polyfills": "src/polyfills.ts",
8483
"tsConfig": "tsconfig.spec.json",
8584
"karmaConfig": "karma.conf.js",
86-
"assets": [
87-
"src/favicon.ico",
88-
"src/assets"
89-
],
90-
"styles": [
91-
"src/styles.sass"
92-
],
85+
"assets": ["src/favicon.ico", "src/assets"],
86+
"styles": ["src/styles.scss"],
9387
"scripts": []
9488
}
9589
},
9690
"lint": {
9791
"builder": "@angular-devkit/build-angular:tslint",
9892
"options": {
99-
"tsConfig": [
100-
"tsconfig.app.json",
101-
"tsconfig.spec.json",
102-
"e2e/tsconfig.json"
103-
],
104-
"exclude": [
105-
"**/node_modules/**"
106-
]
93+
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
94+
"exclude": ["**/node_modules/**"]
10795
}
10896
},
10997
"e2e": {
@@ -119,6 +107,7 @@
119107
}
120108
}
121109
}
122-
}},
110+
}
111+
},
123112
"defaultProject": "Code-Institute-User-Centric-Algorithms"
124-
}
113+
}

docs/img/Algorithm Project Mockups - Desktop.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/img/Algorithm Project Mockups - Mobile.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/img/Desktop.png

22.3 KB
Loading

docs/img/Mobile.png

38.8 KB
Loading

0 commit comments

Comments
 (0)