Resolves #37
# Description
Issue: #37
- [x] Added check for environment to dynamically select base URL
# Screenshots
Click here for screenshots
N/A
# Notes
On localhost, the routing is based at `/`, but on GH pages the routing is based at `/learnjs/`. To allow the app to run both locally and in prod, I added a check for an environment variable automatically set by node at buildtime called `NODE_ENV`. When building in dev mode for local testing, the variable will be automatically set to `development`. When building the project for deployment, it'll automatically populate as `production`.
Click here for screenshots
N/A