PubFlow is an advanced publishing analytics platform designed to help publishers, bookstores, and content creators track, analyze, and optimize their sales performance. With real-time insights and AI-powered analytics, PubFlow enables smarter business decisions, audience engagement, and optimized publishing strategies.
- π Sales Performance Dashboard - Visualize sales trends across genres, formats, and regions.
- π Advanced Search & Filtering - Find key insights with full-text search and smart filters.
- π€ AI-Driven Recommendations - Predict demand and optimize publishing strategies.
- π Multi-Channel Integration - Sync data from Amazon, Mercado Livre, Shopee, and other platforms.
- π‘ ETL & Big Data Processing - Process large datasets efficiently for deeper analysis.
- π Predictive Analytics - Leverage machine learning to forecast trends and sales behavior.
- π Customizable Reports - Generate PDF/CSV reports for internal strategy meetings.
- Backend: Ruby on Rails 8 (API-Only)
- Frontend: Next.js + Chart.js for analytics visualization
- Database: PostgreSQL with Elasticsearch/OpenSearch for advanced search
- AI & Data Processing: Python (Pandas, Scikit-learn for analytics)
- Cloud & Scalability: Docker + AWS/GCP deployment
PubFlow/
βββ backend/ # Ruby on Rails 8 API
βββ frontend/ # Next.js application
βββ database/ # PostgreSQL with Elasticsearch integration
βββ docs/ # Documentation and API references
βββ scripts/ # ETL and data processing scripts
βββ tests/ # Unit and integration tests
βββ docker-compose.yml # Docker configuration
- Docker & Docker Compose installed
- PostgreSQL installed (if running locally)
- Node.js & Yarn (for the frontend)
git clone https://github.com/yourusername/pubflow.git
cd pubflowcd backend
cp .env.example .env
bundle install
docker-compose up -d
rails db:create db:migrate db:seed
rails servercd frontend
yarn install
yarn devThe frontend should now be running at http://localhost:3000 and backend at http://localhost:3001.
The API is documented using Swagger/OpenAPI. To access the API documentation, run the backend and navigate to:
http://localhost:3001/api-docs
- Implement real-time sales tracking
- Enhance AI-based trend prediction models
- Expand integration with more book marketplaces
- Develop a mobile-friendly dashboard
We welcome contributions! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature-xyz) - Commit your changes (
git commit -m 'Added feature XYZ') - Push to the branch (
git push origin feature-xyz) - Open a Pull Request
This project is licensed under the MIT License.
For inquiries, reach out via [email protected] or open an issue in the repository.
π PubFlow - Empowering Publishers with Data-Driven Insights!