QuickStats is a Next.js application that allows the user to search, download, and graphically view decades of Major League Baseball statistics. Initial data dump provided by Lahman's Baseball Database.
Available live at: https://elastic-mlb-stats.vercel.app
Batting Statistics | Graph any stat |
---|---|
The frontend of the application consists of custom styling created with SCSS and the Bulma CSS Framework. SCSS modules are used to style the React components used on the site.
Charts displayed on the site are built with the wonderful Nivo component library.
Statistics were loaded into an Elasticsearch cluster and exposed to the application via a REST API created with AWS Lambda and API Gateway. Queries to Elasticsearch enable accurate results relative to the input parameters. The REST API, created using the AWS CDK, is available to view in the backend repository.
For a closer look at how the Lahman data was transformed into JSON format, see my Lahman-To-Elasticsearch repo.
Automated deployments are enabled using the Vercel deployment framework.