/capstone

Primary LanguageJavaScript

Basketball Linkup

By Jeff Lai

This applications will allow users to connect with other users to either train together or gather a team for basketball. Users will be able to input their skill level, location, and time preferences.

Technologies Used

  • NPM
  • WebPack
  • JavaScript
  • React
  • Firebase
  • Firestore
  • NoSQL
  • HTML
  • CSS

Setup/Installation Requirements

  • Download or clone this repository https://github.com/popoyuyu/capstone.git
  • Navigate into project directory: cd basketball-app and run npm install to set up environment and npm packages
  • Create a new firebase project at https://firebase.google.com/
  • in your root directory create a file .env and paste the following code:
REACT_APP_FIREBASE_API_KEY = "[YOUR-KEY]"
REACT_APP_FIREBASE_AUTH_DOMAIN = "[YOUR-AUTH-DOMAIN].firebaseapp.com"
REACT_APP_FIREBASE_DATABASE_URL = "https://[YOUR-DATABASE-URL].firebaseio.com"
REACT_APP_FIREBASE_PROJECT_ID = "[YOUR-PROJECT-ID]"
REACT_APP_FIREBASE_STORAGE_BUCKET = "[YOUR-STORAGE-BUCKET].appspot.com"
REACT_APP_FIREBASE_MESSAGING_SENDER_ID = "[YOUR-MESSAGING-ID]"
REACT_APP_FIREBASE_APP_ID = "[YOUR-APP-ID]"
  • replace placeholders with your own information from Firebase
  • run npm run start
  • In your web browser navigate to localhost:3000

Known Bugs

  • Filter/search functionality currently lists anyone with any of the filters matched

Research & Planning Log

Friday, 02/18
  • 8:30: prioritize initial MVP and stretch goals

  • 9:30: research on potentialy using firebase for backend

  • 10:20: continued research on firebase

  • 11:20: research how to use react front end with c# backend

  • 1:40: continued research on using react front end with c# backened

  • 2:15: researching incorporating messenger app possibly

  • 3:15: continued research incorporating messenger app possibly

  • 4:00: initial research on map sharing maybe using google?

  • Total: 7 hours

Friday, 02/25
  • 8:00: updating capstone proposal

  • 9:10: re-watching videos on firebase

  • 10:00: continued research on firebase

  • 11:30: continued reserarch with incorporating chat functionality

  • 1:20: continue studying on chat functionality

  • 2:50: research on map sharing using googles map api

  • 4:05: still researching incorporating google map api

  • 4:50: most likely doing firebase backenend with react front end notes

  • Total: 8 hrs

Sunday, 03/06
  • 8:00: updating capstone proposal

  • 9:00: update readme

  • 10:00: research with using openlayers map api

  • 11:00: cont. research on openlayers

  • Total: 3 hrs

Monday, 03/07
  • 9:00: cont research on openlayers

  • 10:00: research on tomtom api

  • 11:15: cont testing with tomtom api.

  • 2:30: research testing with mapbox

  • 4:00: cont testing with mapbox

  • 5:15: cont research with mapbox

  • 9:00 - 11:00: watching videos refresh on firebase

  • Total: 10 hrs

Tuesday, 03/08
  • 8:20: implementing firebase from watching youtube / learn how to program

  • 3:00-5:00: watching youtube on firebase auth

  • Total: 8 hrs

Thursday, 03/10
  • 10:00 - 11:00: research on applying chat application

Getting Started with Create React App

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) Jeff Lai