This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Constant Time O(1) | |
function isEven(value){ | |
// function does not allow for an input > than 1 | |
// so it is Constant Time by default | |
if (value % 2 == 0){ | |
return true; | |
} | |
else | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Purpose Statement: | |
- This app will allow users to track, among other minor analytics, the amount of money they owe to the groupchat swearjar. The analytics will be pulled from the groupme api. | |
User Stories: | |
- As a user, I can view the analytics of chat group members by clicking on their image in the app UI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createStore, applyMiddleware } from 'redux'; | |
import reduxThunk from 'redux-thunk'; | |
import reducers from './reducers'; | |
const store = createStore(reducers, | |
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(), | |
applyMiddleware(reduxThunk)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code is well organized, but the variable names could be a little clearer. | |
Endpoints are built well. | |
Tests could be rearranged to mimic use cases of PUT requests to /setlist endpoint. | |
Instead of seeding database before each test, the tests could be arranged in such a way that items are added | |
and removed as a part the tests, and not programatically. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Descoping to MVP | |
* As a user, I should be able to log in | |
* As a user, I should be able to access my tracks from the Spotify API | |
* As a user, I should be able to read the differences between 3 setlist templates. | |
* As a user i should be able to create and save a setlist | |
* As a user, i should be able to make edits to the saved setlist | |
* As a user, I should be able to delete a saved setlist | |
* As a user i should be able to retrieve a saved setlist. | |
* As a user, I should be able to export a setlist to a word processor | |
* As a user, I should be able to see the tempo and key of tracks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## App Purpose Statement | |
* Help artists gather, organize, and present their analytics to clients, agents and labels. | |
## User Stories | |
* As a user, I should be able to sign up . | |
* As a user, I should be able to log in. | |
* As a user, I should be able to pull and save semi-raw analytics from the Spotify API. | |
* As a user, I should be able to compare my analytics against my peers. | |
* As a user, I should be able to manually input my competitors as well as see suggested peers. | |
* As a user, I should be able to choose, or “stage”, data from the data base to display. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.restaurants.find(); | |
db.restaurants.find().sort({name: 1}).limit(10); | |
var itemId = db.restaurants.findOne({}, {_id: true})._id; | |
db.restaurants.findOne({_id: myId}); | |
db.restaurants.find({borough: "Queens"}); | |
db.restaurants.count(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MadLib: | |
https://gomix.com/#!/project/material-barber | |
A/B Test: | |
https://gomix.com/#!/project/ruthless-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Feedback | |
UI is inconsistent. images display at different heights and the text boxes are inconsistently sized. | |
Bugs with continuous API calls, due to starting point offset | |
Low res pictures | |
Those who looked at the code said it was well structured | |
#Fixes | |
Need to set minimum heights for text-boxes and images. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
Title in top left hand corner | |
Search bar in center with instructions as placeholder text | |
---------------------------------------------------------- | |
Enter Character Name into input field and submit via click or enter | |
2 | |
Title in top left hand corner | |
search bar in center w/ instructions as placeholder text | |
Character Name |