Grocery Analytics - A tool to display customer habits and grocery store traffic
University: San Jose State University
Course: Enterprise Software - Computer Engineering 172 / Spring 2020
Team Members: Sophie Chen, Stefan Do, Janice Lu
Grocery Store Owners often don’t realize that the most valuable information they have is right in front of them, their customers and their shopping habits. Grocery stores already keep track of their inventory but often do not utilize this information to make better informed decisions to improve their stores.
Grocery Analytics aims to solve this problem. By utilizing the data that grocery stores collect, like store traffic and inventory sold, Grocery Analytics helps grocery store owners and employees to make decisions for their business that’s backed by data.
Home Screen
Item Analytics Screen
Store Traffic Screen - Hourly
Store Traffic Screen - Weekly
Store Traffic Screen - Monthly
Store Analytics Screen
git clone https://github.com/JaniceLu/cmpe172_project.git
Create database using this command in MySQL Workbench:
Create database store;
Configure application.properties file to match your database and credentials:
spring.jpa.hibernate.ddl-auto = create
spring.datasource.url = jdbc:mysql://${MYSQL_HOST:localhost}:3306/YOUR_DATABASE_NAME
spring.datasource.username = YOUR_USERNAME
spring.datasource.password = YOUR_PASSWORD
Navigate to the folder that you cloned the project into then run this command:
./gradlew bootRun
All queries are handled through Spring Boot JPA (CRUD repositories) and Thymeleaf’s templates.
All parts of this project are free to use under the open-source MIT license.