Skip to content

Conversation

@luisgs7
Copy link

@luisgs7 luisgs7 commented Jan 24, 2026

🚀 MiBook-Server Initial Setup

📝 Summary

Initial infrastructure setup for MiBook-Server: a FastAPI-based REST API for managing reading physical books and online versions.

🎯 Changes Made

1. 🐳 Docker Infrastructure Setup

  • Dockerfile with Python 3.13.9
  • Docker Compose with 3 services: API (FastAPI), PostgreSQL, Redis
  • Requirements.txt with FastAPI, pytest, flake8, black

2. 🛡️ Git Configuration

  • Added .gitignore for Python, environment files, and IDE-specific files

3. 🚀 FastAPI Application

  • Created main.py with root endpoint returning welcome message
  • Added initial test file

4. ⚙️ CI/CD Pipeline

  • GitHub Actions workflow for Flake8 linting
  • GitHub Actions workflow for pytest testing

5. 📚 Documentation

  • Comprehensive README.md with installation, usage, and API documentation

🔄 How to Run

docker-compose up --build
# API: http://localhost:8000
# Docs: http://localhost:8000/docs

✅ What's Included

  • Docker setup (API, PostgreSQL, Redis)
  • FastAPI application with hot-reload
  • CI/CD pipelines (linting & testing)
  • Code quality tools (Flake8, Black, Pytest)
  • Complete documentation

Ready for Review

Copy link
Collaborator

@gabrielbmoro gabrielbmoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 🔥 🔥

@gabrielbmoro gabrielbmoro merged commit 68f923d into main Jan 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants