Skip to content

Competitive Advantage - Retail Analytics Dashboard for the New Mexico Cannabis Market

Notifications You must be signed in to change notification settings

DigitalHerencia/NM-Cannabis-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Retail Analytics Dashboard for the New Mexico Cannabis Industry

alt text

Overview

The disruptive and brand-new Digital Herencia Competitive Advantage Retail Analytics Dashboard is a comprehensive tool designed to provide dispensaries in New Mexico with actionable insights through interactive data visualizations. It focuses on competitive pricing, sales trends, and market share analysis, leveraging advanced data visualization and state management techniques.

GitHub watchers GitHub forks GitHub stars

GitHub last commit GitHub issues GPLv3 license

Table of Contents

  1. Features
  2. Technical Stack
  3. Installation
  4. Usage
  5. Screenshots
  6. Contributing
  7. License
  8. Contact

Features

Menu Comparison Feature

  • πŸ“‹ Description: Allows dispensaries to compare their product prices against competitors.
  • πŸ–₯️ Technology: Heads-up display technology.
  • πŸ›’ Implementation: Utilizes RESTful API to fetch competitive pricing data and display comparisons in a user-friendly format.

Sales Data Visualization

  • πŸ—ƒοΈ Description: Presents time-series analysis of sales data to aid trend identification and forecasting.
  • πŸ“Š Technology: Nivo charts.
  • πŸ“ˆ Implementation: Uses Nivo’s line charts to depict sales trends over time, with data fetched from the backend via RESTful APIs.

Market Share Analysis

  • πŸ“– Description: Analyzes and displays market share by zip code using GIS data.
  • πŸ—ΊοΈ Technology: Mapbox maps, pie charts.
  • πŸ“ Implementation: Integrates Mapbox for geographical visualization and Nivo pie charts for market share representation. Data is processed and visualized based on zip code analysis.

Technical Stack

alt text

React Material-UI Redux Node.js Express.js MongoDB JWT Nivo Mapbox

  • Frontend: React, Material-UI
  • State Management: Redux
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)
  • Data Visualization: Nivo, Mapbox

Installation

To install and run this project locally:

  1. Clone the repository:

    git clone https://github.com/yourusername/retail-analytics-dashboard.git
  2. Navigate to the project directory:

    cd retail-analytics-dashboard
  3. Install frontend dependencies:

    cd client
    npm install
  4. Install backend dependencies:

    cd ../server
    npm install
  5. Set up environment variables by creating a .env file in the root of the server directory with the following content:

    MONGODB_URI=your_mongodb_uri
    JWT_SECRET=your_jwt_secret

Note

Make sure to install all dependencies and create the .env file with the required environment variables

Usage

To start the development server, run the following commands:

  1. Start the frontend:
    cd client
    npm start
  2. Start the backend:
    cd ../server
    npm start

Screenshots

Dashboard Overview
Breakdown by Category Licensee Rankings
Performance Comparison Product Comparison
Geographic Analysis

Tip

Use your own MongoDB connection string in the .env file and load in your custom data!

Contributing


Contributions are welcome! Please contact us for our contributing guidelines before submitting a pull request.

License


This project is licensed under the GNU General Public License version 3.0 - see the LICENSE file for details.

Contact


For any inquiries or feedback, please reach out to us at DigitalHerencia@Outlook.com

Digital Herencia

About

Competitive Advantage - Retail Analytics Dashboard for the New Mexico Cannabis Market

Topics

Resources

Stars

Watchers

Forks

Languages