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
dotfilesrepo so that your codespaces feel ergonomic and immediately familiar. If you dont have adotfilesrepo, then generate one with the namedotfilesbefore moving on.
- Debug the App: Open
index.jsand place a breakpoint on any line. PressF5to start the debugger. The breakpoint will be hit, and you can explore the state of the application in theVariables,Watch, andCall Stackpanels. - View the App: Continue the debugging session by pressing
F5again. 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 -vorunameto interact with the codespace. If you setup adotfilesrepo, you should see your terminal setup fully intact. If you're using the sample dotefiles, then check out the awesomePS1prompt and/or try runninglorcls(these are custom aliases!). - Install an Extension: Press
Ctrl+Shift+Xto open the Extensions bar. Search forRandomFractalsInc.geo-data-viewer, and pressInstall. Then, open thepublic/data/ballparks.geojsonfile. With the file open, pressF1to open the command pallet, search for and run theGeo: View Mapcommand to see the extension visualize the.geojsoninformation in the file.