A simple application used for tracking which MLB and AAA stadiums a Ballpark Chaser has been to.
NOTE: This project requires Node.js and MongoDB. Only pull requests that statisfy the ESLint rules will be accepted.
Contributions to this repository have been made easy! Simply click the "Code > Open with Codespaces > New codespace" button above to have a complete development environment, including Node.js, MongoDB, and all other dependencies, spun up on your behalf.
NOTE: You can optionally setup a
dotfiles
repo so that your codespaces feel ergonomic and immediately familiar. If you dont have adotfiles
repo, then generate one with the namedotfiles
before moving on.
- Debug the App: Open
index.js
and place a breakpoint on any line. PressF5
to start the debugger. The breakpoint will be hit, and you can explore the state of the application in theVariables
,Watch
, andCall Stack
panels. - View the App: Continue the debugging session by pressing
F5
again. The application will launch in a new tab. - Make a Change: Open
views/index.ejs
. Change the text on line 31 (<span>Ball Park Tracker</span>
) and save the file. View the app, and it will have automatically updated to show your change. - Try the Terminal: Press
Ctrl+Shift+`
to open a new terminal window. Try entering commands likenode -v
oruname
to interact with the codespace. If you setup adotfiles
repo, you should see your terminal setup fully intact. If you're using the sample dotefiles, then check out the awesomePS1
prompt and/or try runningl
orcls
(these are custom aliases!). - Install an Extension: Press
Ctrl+Shift+X
to open the Extensions bar. Search forRandomFractalsInc.geo-data-viewer
, and pressInstall
. Then, open thepublic/data/ballparks.geojson
file. With the file open, pressF1
to open the command pallet, search for and run theGeo: View Map
command to see the extension visualize the.geojson
information in the file.