- Create a MYSQL Database named
db_cs201
- Run the application with the following environment variables
- MYSQL_HOST: Url of MYSQL server used to host the database
- MYSQL_PASSWORD: Password to the MYSQL server
- GOOGLE_API_KEY: API Key from Google Maps Platform
- Put dataset
result.json
intarget
folder - To start the application, run:
./mvnw spring-boot:run
for Unix Terminals ormvn spring-boot:run
for Windows Command Prompt - Visit
http://localhost:8080/load
to seed database with the dataset we will be using
Alternatively, execute the db_cs201_business.sql
file to setup the database. This would allow you to skip steps 3 and 5, going straight to step 4.
- Follow the Next.js client README.md to setup the frontend
- Open
http://localhost:3001
with your browser to access the application