Skip to content

βš™οΈπŸ“‘πŸ” HeadlineHub API, a RESTful API built with Dart Frog, serving as the backend for both the HeadlineHub mobile app and the HeadlineHub web Dashboard.

License

Notifications You must be signed in to change notification settings

headlinehub/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βš™οΈπŸ“‘πŸ” HeadlineHub API πŸ”πŸ“‘βš™οΈ

🐸 A Dart Frog API for the HeadlineHub app and dashboard

This repository contains the source code for the HeadlineHub API, a RESTful API built with Dart Frog, serving as the backend for both the HeadlineHub mobile app and the HeadlineHub web dashboard.

🚧 Current Status

The HeadlineHub API is currently under development. The features listed below are planned and may not all be implemented in the current version.

πŸš€ Features (Planned)

  • πŸ“‘ News Source Management API:
    • βž• Create, read, update, and delete news sources.
    • βš™οΈ Configure source-specific settings (e.g., polling frequency, filtering rules, API keys).
    • 🩺 Monitor source health and status.
  • πŸ‘₯ User Management API:
    • πŸ‘€ User registration, login, and logout endpoints.
    • πŸ”’ Role-based access control (e.g., admin, editor, user).
    • πŸ”‘ Secure authentication and authorization using JWTs.
  • πŸ“ Headline Management API:
    • βž• Create, read, update, and delete headlines.
    • πŸ“ Fetch headlines from integrated news sources (e.g., News API).
    • πŸ”„ Schedule headline publication times.
    • βœ… Publish and unpublish headlines.
    • ⚠️ Handle headline approval and rejection workflows.
  • πŸ“Š App Analytics API:
    • πŸ“ˆ Track user engagement metrics (e.g., active users, daily active users, session duration).
    • πŸ“ˆ Track headline popularity metrics (e.g., most read headlines, top sources).
    • πŸ“Š Provide aggregated usage statistics.

πŸ—οΈ Architecture

  • 🧹 Clean Architecture: Adhering to clean architecture principles for separation of concerns.
  • πŸ’‰ Dependency Injection: Utilizing dependency injection for better testability and maintainability.
  • πŸ’Ύ Data Persistence: Utilizing a suitable database (e.g., PostgreSQL) for data storage and retrieval.

πŸ› οΈ Technologies

  • 🎯 Dart: The programming language for both frontend and backend development.
  • 🐸 Dart Frog: A modern and performant Dart framework for building backend applications.
  • 🐘 PostgreSQL: The chosen database system for data persistence.
  • πŸ” JWT: JSON Web Tokens for secure authentication and authorization.

⚠️ Disclaimer

This API is currently under development and may contain bugs or have limited functionality.

πŸ“ License

HeadlineHub API offers a PolyForm-Free-Trial license provided with the source code. Users can seamlessly upgrade to the robust PolyForm-Perimeter license with a single, one-time payment.

Understanding the PolyForm Free Trial License

This evaluation license provides a 32-day period for comprehensive assessment and modification of the code's functionality. Continued utilization beyond this evaluation period necessitates the acquisition of a PolyForm-Perimeter license.

Understanding the PolyForm Perimeter License

This license grants unlimited rights to utilize, modify, and distribute derivatives of the licensed source code, expressly prohibiting the distribution of the source code itself, whether for commercial gain or without charge.

Do I need separate licenses for the HeadlineHub app, dashboard ?

No, a single license covers all three.


Should you have any further questions, please do not hesitate to inquire here."

About

βš™οΈπŸ“‘πŸ” HeadlineHub API, a RESTful API built with Dart Frog, serving as the backend for both the HeadlineHub mobile app and the HeadlineHub web Dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages