Skip to content

🧠 Backend-powered SaaS app that saves article URLs and prepares them for AI summarization. Built with Go, GraphQL, JWT auth, and PostgreSQL.

Notifications You must be signed in to change notification settings

markiskorova/trend-summary-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Trend Summary Engine

Trend Summary Engine is a backend-focused SaaS app that allows users to save article URLs and prepares them for AI-powered summarization. Built with Go, PostgreSQL, GraphQL, and JWT-based authentication, it's designed for modular growth and fast iteration.


πŸ” Problem

In a world of information overload, professionals struggle to stay informed. Trend Summary Engine enables users to submit articles and (in future phases) receive concise summaries using AI.


πŸš€ Features (Phase 1 MVP)

  • βœ… JWT-secured user authentication (register + login)
  • βœ… Submit and store article URLs via GraphQL
  • βœ… Modular Go backend with graphql-go and GORM
  • βœ… Dockerized setup with PostgreSQL and Docker Compose
  • βœ… Clean .env/.env.example configuration and Git hygiene

🧱 Tech Stack

  • Language: Go
  • Frameworks: graphql-go Β· GORM
  • Auth: JWT Β· bcrypt
  • Database: PostgreSQL
  • Infrastructure: Docker Β· Docker Compose
  • Future: OpenAI API Β· RabbitMQ Β· React + Vite Β· Terraform

πŸ“ Project Structure

trend-summary-engine/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ cmd/api/              # GraphQL API server
β”‚   β”œβ”€β”€ internal/
β”‚   β”‚   β”œβ”€β”€ auth/             # JWT and password handling
β”‚   β”‚   β”œβ”€β”€ config/           # Environment loading
β”‚   β”‚   β”œβ”€β”€ db/               # GORM models and DB setup
β”‚   β”‚   └── graph/            # GraphQL schema and resolvers
β”‚   β”œβ”€β”€ .env                  # Local-only environment config
β”‚   β”œβ”€β”€ .env.example          # Shared environment template
β”‚   └── Dockerfile            # Multi-stage backend build
β”œβ”€β”€ docker-compose.yml
└── README.md

πŸ§ͺ Running Locally

Prerequisites

  • Docker & Docker Compose installed

Run the stack

docker-compose up --build

GraphQL endpoint: http://localhost:8080/graphql
Use GraphiQL UI to register, login, and submit articles.


πŸ“… Roadmap

  • βœ… Phase 1: Backend auth + GraphQL API
  • 🚧 Phase 2: Background scraping & summarization
  • 🚧 Phase 3: Frontend UI (React + Vite)
  • 🚧 Phase 4: Enhanced GraphQL features & tests
  • 🚧 Phase 5: AWS deployment via Terraform

🀝 Contributing

Contributions are welcome! Future phases will include frontend scaffolding and infrastructure extensions.


πŸ“„ License

This project is licensed under the MIT License.

About

🧠 Backend-powered SaaS app that saves article URLs and prepares them for AI summarization. Built with Go, GraphQL, JWT auth, and PostgreSQL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published