Skip to content

aliziauddin/Pharma-Data-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸ’Š Medicine Sales Dashboard

This project is a Flask application that provides a dashboard for tracking medicine and wellness sales data. It is connected to a MongoDB database and utilizes Grafana for data visualization.

dashboard

πŸš€ Getting Started

To run the application, follow these steps:

  1. Clone the repository:
 git clone https://github.com/aliziauddin/Pharma-Data-Analytics.git
  1. Navigate to the app directory:
cd Pharma-Data-Analytics/app
  1. Start the application using Docker Compose:
docker-compose up

This command will start the Flask app along with the MongoDB database. It will launch three instances of the app, one for each container 🐳.

  1. Access the application: Once the containers are up and running, you can access the application by navigating to http://localhost:3000 in your web browser.

✨ Features

  • Sales Dashboard: The app provides a graphical dashboard to visualize medicine and wellness sales data. It uses Grafana for data visualization, allowing you to create interactive charts and graphs πŸ“ŠπŸ“ˆ.

  • MongoDB Integration: The application is connected to a MongoDB database to store and retrieve sales data. It uses an ORM (Object-Relational Mapping) library, such as PyMongo or MongoEngine, to interact with the database πŸ“πŸ’Ύ.

  • Dockerized Environment: The entire application, including the Flask app and MongoDB, is containerized using Docker. This ensures consistent and reproducible deployments across different environments πŸ³πŸš€.

πŸ“ Usage and Configuration

  • Data Collection: The application collects sales data from various sources, such as point-of-sale systems or online platforms. You can configure the data collection process to import data automatically or manually upload data files πŸ“ŠπŸ“₯.

  • Database Configuration: The connection details for the MongoDB database can be configured in the server.py file. Update the MONGO_URI variable with the appropriate MongoDB connection string βš™οΈπŸ”§.

  • Grafana Integration: Grafana is configured to connect to the MongoDB database and retrieve sales data for visualization. You may need to configure the data source settings in Grafana to point to the correct MongoDB instance πŸ“ˆπŸ”Œ.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages