Um site web simples desenvolvido com Python e Flask. Ele possui uma página inicial e uma página "Sobre". Além disso, há uma configuração de GitHub Actions para CI/CD.
✔️ Servidor web usando Flask
✔️ Estrutura simples e escalável
✔️ Suporte a templates HTML
✔️ Testes automatizados com pytest
✔️ CI/CD com GitHub Actions
git clone https://github.com/gabsouza-dev/webpy.git
cd webpy
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py
O site estará disponível em http://127.0.0.1:5000/ 🎉
Se houver testes, execute:
pytest
Este projeto usa GitHub Actions para CI. O workflow roda automaticamente nos eventos:
✔️ push para main
✔️ pull request para main
Verifique o status do pipeline no seu repositório na aba Actions.
webpy/
│-- app.py # Código principal do Flask
│-- requirements.txt # Dependências do projeto
│-- test_app.py # Testes automatizados
│-- templates/ # Páginas HTML
│ │-- index.html
│ │-- about.html
│-- static/ # Arquivos estáticos (CSS, JS, imagens)
│ │-- style.css
│-- .github/ # Configuração do GitHub Actions
│ │-- workflows/
│ │-- ci.yml
Este projeto está sob a licença MIT. Sinta-se à vontade para usá-lo e modificá-lo! 🚀
Feito por Gabriel Souza 💻💡