Nutrition pack recommendation system!
- Nutrition recommendation system
- Web scraping for nutrition data
- RESTful API endpoints
- SQLite database for storing nutrition information
nutrition-bot/
├── app/ # Main application package
│ ├── api/ # API endpoints
│ ├── core/ # Core business logic
│ ├── db/ # Database models and functions
│ └── schemas/ # Pydantic models
├── scrapers/ # Scraping infrastructure
├── tests/ # Test files
└── pyproject.toml # Project dependencies
- Create a virtual environment:
python -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file with your configuration -
Run the application:
uvicorn app.main:app --reload
Once the application is running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
- Run tests:
pytest
- Format code:
black .
- Lint code:
flake8
MIT