Giter Site home page Giter Site logo

mpr.kirke.dev's Introduction

MPR Dashboard

About

This repository hosts the code for a dashboard of daily hog and pork prices based on historical Mandatory Price Reporting data hosted by the USDA's Agricultural Marketing Service.

Lean hog futures traders normally retrieve these reports as PDFs, like this afternoon cutout report. While these reports are great, it's not really possible to see price trends over time, and seasonality is a huge component of agriculture prices. I know traders who write them down in a legal pad, and others who are a little more technical that manually maintain an Excel spreadsheet. Fortunately for everyone the USDA hosts an API with historical data.

Aside from being useful to myself and like two other people as a personal project, this repository also serves as a portfolio project for what I believe to be best practices in web development. It's a containerized typescript monorepo with clean architecture, thorough testing, and CI/CD.

Project Setup

The only system dependencies are node.js with yarn and docker with docker-compose

git clone [email protected]:kirkedev/mpr.kirke.dev.git
yarn install
yarn workspace test playwright install
yarn prepare

Commands

Start the app in dev mode. The app will be hosted at http://localhost:3000 and a debugger is available on port 9229

yarn dev   

Start the app in production mode. The app will be hosted at http://localhost

yarn start

Shut down the app

yarn stop

Fix lint errors

yarn fix

Testing

Command Description
yarn workspace test unit Run unit and integration tests
yarn workspace test watch Run unit and integration tests in watch mode
yarn workspace test e2e Run end-to-end acceptance tests
yarn workspace test smoke Run smoke tests

CI/CD Workflows

Add git hooks with yarn prepare

GitHub Actions

mpr.kirke.dev's People

Contributors

kirkedev avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

dimamir64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.