Skip to content

Commit fb31b26

Browse files
committed
🚚 rename projeto de menu-mvp-api para menu-api
1 parent 72f9be7 commit fb31b26

File tree

6 files changed

+211
-155
lines changed

6 files changed

+211
-155
lines changed

.cruft.json

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,39 @@
11
{
2-
"template": "https://github.com/timothycrosley/cookiecutter-python/",
3-
"commit": "71391fd9999067ef4b38aa05e7116087fac431f8",
2+
"template": "https://github.com/tiangolo/full-stack-fastapi-postgresql",
3+
"commit": "c5d7e9c",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
77
"full_name": "Aimê Nobrega",
88
"email": "aime.nobrega@gmail.com",
99
"github_username": "aime-n",
10-
"project_name": "menu-mvp-api",
11-
"description": "Project short description.",
12-
"version": "0.0.1",
13-
"_template": "https://github.com/timothycrosley/cookiecutter-python/",
14-
"_commit": "71391fd9999067ef4b38aa05e7116087fac431f8"
10+
"project_name": "menu-api",
11+
"project_slug": "menu-api",
12+
"domain_main": "menu-api.com",
13+
"docker_swarm_stack_name": "menu-api",
14+
"secret_key": "{{ cookiecutter.secret_key }}",
15+
"first_superuser": "admin",
16+
"first_superuser_password": "{{ cookiecutter.first_superuser_password }}",
17+
"backend_cors_origins": [
18+
"http://localhost",
19+
"http://localhost:4200",
20+
"http://localhost:3000",
21+
"http://localhost:8080",
22+
"https://localhost",
23+
"https://localhost:4200",
24+
"https://localhost:3000",
25+
"https://localhost:8080"
26+
],
27+
"postgres_password": "{{ cookiecutter.postgres_password }}",
28+
"traefik_public_network": "traefik-public",
29+
"flower_auth": "{{ cookiecutter.flower_auth }}",
30+
"sentry_dsn": "{{ cookiecutter.sentry_dsn }}",
31+
"docker_image_prefix": "menu-api",
32+
"docker_image_backend": "menu-api-backend",
33+
"docker_image_celeryworker": "menu-api-celeryworker",
34+
"docker_image_frontend": "menu-api-frontend",
35+
"_template": "https://github.com/tiangolo/full-stack-fastapi-postgresql",
36+
"_commit": "c5d7e9c"
1537
}
1638
},
1739
"directory": null

README.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
menu-mvp-api
1+
menu-api
22
_________________
33

4-
[![PyPI version](https://badge.fury.io/py/menu-mvp-api.svg)](http://badge.fury.io/py/menu-mvp-api)
5-
[![Test Status](https://github.com/aime-n/menu-mvp-api/workflows/Test/badge.svg?branch=develop)](https://github.com/aime-n/menu-mvp-api/actions?query=workflow%3ATest)
6-
[![Lint Status](https://github.com/aime-n/menu-mvp-api/workflows/Lint/badge.svg?branch=develop)](https://github.com/aime-n/menu-mvp-api/actions?query=workflow%3ALint)
7-
[![codecov](https://codecov.io/gh/aime-n/menu-mvp-api/branch/main/graph/badge.svg)](https://codecov.io/gh/aime-n/menu-mvp-api)
8-
[![Join the chat at https://gitter.im/aime-n/menu-mvp-api](https://badges.gitter.im/aime-n/menu-mvp-api.svg)](https://gitter.im/aime-n/menu-mvp-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9-
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.python.org/pypi/menu-mvp-api/)
10-
[![Downloads](https://pepy.tech/badge/menu-mvp-api)](https://pepy.tech/project/menu-mvp-api)
4+
[![PyPI version](https://badge.fury.io/py/menu-api.svg)](http://badge.fury.io/py/menu-api)
5+
[![Test Status](https://github.com/aime-n/menu-api/workflows/Test/badge.svg?branch=develop)](https://github.com/aime-n/menu-api/actions?query=workflow%3ATest)
6+
[![Lint Status](https://github.com/aime-n/menu-api/workflows/Lint/badge.svg?branch=develop)](https://github.com/aime-n/menu-api/actions?query=workflow%3ALint)
7+
[![codecov](https://codecov.io/gh/aime-n/menu-api/branch/main/graph/badge.svg)](https://codecov.io/gh/aime-n/menu-api)
8+
[![Join the chat at https://gitter.im/aime-n/menu-api](https://badges.gitter.im/aime-n/menu-api.svg)](https://gitter.im/aime-n/menu-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9+
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.python.org/pypi/menu-api/)
10+
[![Downloads](https://pepy.tech/badge/menu-api)](https://pepy.tech/project/menu-api)
1111
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1212
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
1313
_________________
1414

15-
[Read Latest Documentation](https://aime-n.github.io/menu-mvp-api/) - [Browse GitHub Code Repository](https://github.com/aime-n/menu-mvp-api/)
15+
[Read Latest Documentation](https://aime-n.github.io/menu-api/) - [Browse GitHub Code Repository](https://github.com/aime-n/menu-api/)
1616
_________________
1717

1818
# 🧠 Menu AI
1919

2020
Menu AI is an intelligent assistant that helps you eat better by transforming your nutrition plan or fridge contents into recipes, meal plans, grocery lists, and calorie/cost estimations.
2121

22-
This is the **MVP version**, focused on PDF parsing, recipe generation, and grocery planning — built using **LangGraph**, **FastAPI**, and **Streamlit**.
22+
This is the **API version**, focused on PDF parsing, recipe generation, and grocery planning — built using **LangGraph**, **FastAPI**, and **Streamlit**.
2323

2424
---
2525

26-
## 🚀 MVP Features
26+
## 🚀 Features
2727

2828
- 📄 Upload a nutritionist PDF and extract meals
2929
- 🍲 Generate recipes from meals or ingredients
@@ -47,20 +47,17 @@ This is the **MVP version**, focused on PDF parsing, recipe generation, and groc
4747
## 📦 Setup Instructions
4848

4949
```bash
50-
# 1. Create virtual environment
51-
python -m venv venv
52-
source venv/bin/activate
50+
# 1. Install Poetry (if not installed)
51+
curl -sSL https://install.python-poetry.org | python3 -
5352

5453
# 2. Install dependencies
55-
pip install -r requirements.txt
54+
poetry install
5655

57-
# 3. Run Streamlit app
58-
cd src/app
59-
streamlit run app.py
56+
# 3. Run FastAPI backend
57+
poetry run uvicorn app.main:app --reload
6058

61-
# 4. Run FastAPI backend (in a separate terminal)
62-
cd src/api
63-
uvicorn main:app --reload
59+
# 4. Run Streamlit app (in a separate terminal)
60+
poetry run streamlit run app/streamlit_app.py
6461
```
6562

6663

app/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
"""**menu-mvp-api**
1+
"""**menu-api**
22
3-
Project short description.
3+
A FastAPI-based menu management API with AI-powered recipe generation.
44
"""
55

6-
__version__ = "0.0.1"
6+
__version__ = "0.1.0"

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.9"
33
services:
44
api:
55
build: .
6-
container_name: menu-mvp-api
6+
container_name: menu-api
77
ports:
88
- "8000:8000"
99
env_file:
@@ -15,7 +15,7 @@ services:
1515

1616
db:
1717
image: postgres:15
18-
container_name: menu-mvp-db
18+
container_name: menu-db
1919
environment:
2020
POSTGRES_USER: postgres
2121
POSTGRES_PASSWORD: postgres

0 commit comments

Comments
 (0)