Skip to content

dianephan/pressedpenny

Repository files navigation

As a pressed coin collector for 10+ years and a lifetime Disney fan, I dislike how there is no efficient and official way to keep track of my coins through the official Disneyland app, or by printing a paper and manually checking them off.

What needs to be done:

  • Need to implement check boxes so that users can check off which coins they collected
    • DONE!
  • DOCUMENTATION!! and cleaning up the code
    • TO-DO: Lots of refactoring and creating a class for coins as well as functions required for the project
  • Allow users to register and save their progress
    • users can register
    • users CANNOT save their progress yet
  • Add all coin locations for the Disney parks in Anaheim, California (2019 collection)
    • do far in the future: add coins for Orlando, Florida

Please reach out to me if you are interested in seeing the presentation I created for this project!

Check out a sneak peek of the map demo:

Personalized user's view:


I am revisting this project in 2020 and making major changes to the project to learn more about creating new feature and scaling up the project. It's been fun! Here are some resources and things I learned and wanted to take note of.

  1. To run locally, type nodemon or node app.js to boot up program
  2. when running locally, need .env file. check out my notes on db/index.js to know what to delete
  3. UnhandledPromiseRejectionWarning: error: password authentication failed for user "diane"
    • literally make a password for yourself

Steps for reinstallation / running on a new machine:

  1. Currently running well on node version 10.2.0.
    • run nvm use 10.2.0
  2. Need to install redis accordingly. it is advised to boot up redis automatically
  3. Probably lacking a connection to the psql DB
    • if you get the error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
    • then you must.... a) start psql b) make sure you create database pennydb if not done already c) otherwise, create db, then run psql file d) this should work

References: Understanding Google Maps API LINKS USED:

Understanding psql
because i had no idea what to do 90% of the time

  • type "sudo -iu postgres" to change user in unix (ex/ diane@diane --> postgres@diane) --if no db exist, create "pennydb" to run this file

LINKS USED:

Understanding Cookies: LINKS USED:

Other things I learned

  • run ps aux | grep node to kill ports when the same port error comes up
  • working on a new branch
    • git branch shows what branch you are on
    • git switch BRANCH_NAME_HERE to switch to another branch
    • to merge 2 branches
      • git checkout BRANCH_NAME_HERE
      • git merge master
      • git push origin BRANCH_NAME_HERE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published