63 lines
1.4 KiB
Markdown
63 lines
1.4 KiB
Markdown
# 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
|
|
|
|
```bash
|
|
# 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
|
|
|
|
```bash
|
|
docker-compose up -d backend
|
|
```
|
|
|
|
## API Endpoints
|
|
|
|
- `GET /health` - Health check
|
|
- `GET /api/v1/version` - Version information
|
|
|
|
More endpoints will be added in subsequent milestones.
|
|
|
|
## License
|
|
|
|
MIT License - See LICENSE file for details.
|