davidholyko / dko-brain-age-back-end

backend api for dko-brain-age web app

Home Page:https://dko-brain-age-back-end.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brain Age: Train Your Brain in Minutes a Day

An online, modified remake of the classic classic Brain Age for the Nintendo DS. Try to get the highest score possible within 60 seconds! There are four types of questions: Complete the Sentence, Math, Find the Missing Shape, and Recognition.

Getting Started

Simply go to https://dko-brain-age-back-end.herokuapp.com/ to deploy backend. The web page should say "The page you were looking for doesn't exist." Go to https://davidholyko.github.io/dko-brain-age-front-end/ to interact with the page

Technologies used

  • HTML
  • CSS + SASS
  • Javascript + jQuery
  • Bootstrap
  • Ruby
  • Ruby on Rails
  • Chart.js and mathjs

Planning and Development

Planning:

  1. Start coding
  2. Complete small goals that lead upto a big goal
  3. Make adjustments along the way
  4. Acquire crucial feedback for improvement
  5. Implement feedback goals
  6. Refactor

My Process

  1. Start coding
  2. Build Resource - games
  3. Add games relationship to user
  4. Make Create, Read controller actions for games back end
  5. Make some custom routes and serializers
  6. Start working on front end
  7. Create logic for one of the problems
  8. Create game display
  9. Create three more logic problems
  10. Implment all four problems
  11. Create Create, Read for games front end
  12. Build MVP resource - suggestions
  13. Add suggestions relationship to user
  14. Make CRUD (Create, Read, Update, Destroy) actions for suggestions back end
  15. Make CRUD (Create, Read, Update, Destroy) actions for suggestions front end
  16. Style with HTML and Bootstrap
  17. Get feedback, implment changes

Initial wireframes and user stories

ERD and Wireframe

  1. As a user, I want to sign up.
  2. As a user, I want to sign in.
  3. As a user, I want to change passwords.
  4. As a user, I want to sign out.
  5. As a user, I want to play a game.
  6. As a user, I want to play a game without signing in
  7. As a user, I want to see my previous games.
  8. As a user, I want to go to all previous games.
  9. As a user, I want to go make a public suggestion.
  10. As a user, I want to go CRUD a public suggestion.

Problem Solving Strategy

  1. Break down problems into smallest solvable problem and build up.
  2. Take a break after certain amount of time regardless of progress.
  3. Write down diagrams if stuck.
  4. Explain code to peers for different approaches to solve the problem.

Unsolved Problems (Problem Working on at the time of editing this file)

Future Direction (Super Stretch Goals)

  1. 3 2 1 Countdown before game starts
  2. query score by player
  3. my scores graph
  4. compare my score to queried player
  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. [ ] For commercial use or alternative licensing, please contact legal@ga.co.

Acknowledgments

Special thanks to Jennifer Meade, Erica Salling, Ben Jenkins, Toni Langley, Jordan Allain, Caleb Pearce, Naida Rosenberger, GA WDI-30, and everyone at General Assembly Boston.

CORS issues

Update Cors on Heroku

Heroku > Project > Settings > Reveal Config Vars > CLIENT_ORIGIN

About

backend api for dko-brain-age web app

https://dko-brain-age-back-end.herokuapp.com/

License:Other


Languages

Language:Ruby 90.4%Language:HTML 6.2%Language:Shell 3.3%