This app finds basketball courts around a given location, and allows users to leave reviews.
This app gets basketball courts, its data, and creates the map using the OpenStreetMap (OSM) API, and geocodes and reverse geocodes using the Nominatim API.
β This website is down for the time being.
You can access this app here!
Users can:
- Log in
- Leave Reviews
- Search for basketball courts within a range of an address
- View and update different court attributes
Clone the project
git clone [email protected]:JinhaKimGH/Basketball-Court-Finder.gitGo to the frontend directory
cd Basketball-Court-Finder/frontendInstall dependencies
npm installStart the server
npm run devOpen the backend
cd Basketball-Court-Finder/backendInstall dependencies
mvn installSet Up application.properties
Inside src/main/resources/application.properties, set these attributes accordingly
spring.datasource.url = jdbc:mysql://localhost:3306/basketballcourtfinder
spring.application.name=Basketball Court Finder
spring.datasource.username=yourusername
spring.datasource.password=yourpassword
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
jwt.secret=random88characterlongsecret
jwt.expiration=86400000
cors.allowed-origin=http://localhost:5173
spring.profiles.active=devBuild and Run the Application
Using Maven without IntelliJ IDEA: Click the maven tab in the IDE.
./mvnw clean install
./mvnw spring-boot:run
