6914a6855cfa25574c2ad45e7bdacb0bfc5e5dba
Newzy - News Web Application
A modern news web application built with FastAPI backend and a responsive frontend.
Overview
Newzy is a news platform that allows users to browse, read, and subscribe to news articles organized by categories and authors.
Project Structure
newz/
├── backend/ # FastAPI backend API
│ ├── api/ # API versioning
│ ├── core/ # Core functionality
│ ├── db/ # Database layer
│ ├── models/ # SQLAlchemy models
│ ├── schemas/ # Pydantic schemas
│ ├── tests/ # Unit tests
│ └── main.py # Application entry point
├── frontend/ # Frontend application (to be implemented)
├── docker-compose.yml # Docker Compose configuration
├── README.md # This file
└── CONTRIBUTING.md # Contribution guidelines
Quick Start
Prerequisites
- Python 3.11+
- Docker and Docker Compose (optional)
Local Development
# Install backend dependencies
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Run the application
uvicorn main:app --reload
Using Docker
docker-compose up -d backend
API Endpoints
GET /health- Health checkGET /api/v1/version- Version information
More endpoints will be added in subsequent milestones.
License
MIT License - See LICENSE file for details.
Languages
TypeScript
49.4%
Python
36.7%
CSS
12.5%
Makefile
0.6%
HTML
0.4%
Other
0.4%