A community website for the Cloud Native Computing Foundation (CNCF) Kathmandu Chapter, built with FastAPI. This project is designed for Hacktoberfest participation, welcoming contributors of all skill levels.
- FastAPI Framework: Modern, fast web framework for building APIs
- Jinja2 Templates: Dynamic HTML rendering
- Modern UI: Responsive design with beautiful styling
- Docker Support: Easy deployment with Docker
- Testing: Comprehensive test suite with pytest
- CI/CD Ready: GitHub Actions workflows for tests and linting
- Community Focus: Built for the CNCF Kathmandu community
.
├── main.py # Main FastAPI application
├── requirements.txt # Python dependencies
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose setup
├── pytest.ini # Pytest configuration
├── conftest.py # Pytest fixtures
├── templates/ # Jinja2 HTML templates
│ ├── base.html
│ ├── index.html
│ ├── about.html
│ ├── events.html
│ ├── resources.html
│ └── contact.html
├── static/ # Static files (CSS, JS, images)
│ └── css/
│ └── style.css
├── tests/ # Test suite
│ ├── __init__.py
│ └── test_main.py
└── .github/
└── workflows/
├── tests.yml # CI test workflow
└── lint.yml # CI lint workflow
- Python 3.11+
- Docker and Docker Compose (optional)
- Git
- Clone the repository:
git clone https://github.com/yourusername/cncf-kathmandu.git
cd cncf-kathmandu- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application:
python main.pyVisit http://localhost:8000 in your browser.
- Clone the repository:
git clone https://github.com/yourusername/cncf-kathmandu.git
cd cncf-kathmandu- Build and run with Docker Compose:
docker-compose up --buildVisit http://localhost:8000 in your browser.
This project is open for Hacktoberfest contributions! We welcome beginners and experienced developers alike. Follow these steps to contribute:
- Fork the repository
- Create a branch (
git checkout -b feature/amazing-feature) - Make your changes
- Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Be respectful and inclusive
- Help beginners learn
- Write clean, readable code
- Follow existing code style
The project includes a comprehensive test suite using pytest. To run tests:
# Install test dependencies
pip install -r requirements.txt
# Run all tests
pytest
# Run tests with coverage report
pytest --cov=. --cov-report=html
# Run specific test file
pytest tests/test_main.py
# Run tests with verbose output
pytest -vView HTML coverage report:
# After running pytest --cov-report=html
open htmlcov/index.htmlThis project is licensed under the MIT License - see the LICENSE file for details.
- FastAPI community
- CNCF Global for inspiration
- All contributors
- Website: CNCF Kathmandu
- GitHub: Your Repository
- Community: Join our Slack/Discord
Thank you to all contributors! You make this project awesome.
Happy Hacking! 🎉
This project is perfect for Hacktoberfest. Start with beginner-friendly issues and work your way up!