Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuel-oldra/nutrilab
🍎 Python e Django 4.2 (4ª ed.)
https://github.com/samuel-oldra/nutrilab
bootstrap django django4-2 migrations mvt-architecture orm python sqlite virtualenv
Last synced: about 2 months ago
JSON representation
🍎 Python e Django 4.2 (4ª ed.)
- Host: GitHub
- URL: https://github.com/samuel-oldra/nutrilab
- Owner: samuel-oldra
- License: bsd-3-clause
- Created: 2021-11-16T14:24:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T14:55:01.000Z (6 months ago)
- Last Synced: 2024-06-19T19:03:33.334Z (6 months ago)
- Topics: bootstrap, django, django4-2, migrations, mvt-architecture, orm, python, sqlite, virtualenv
- Language: HTML
- Homepage:
- Size: 4.51 MB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
NutriLab - PyStack Week 4.0
Tecnologias e práticas utilizadas •
Funcionalidades •
ComandosAplicação para nutricionistas e pacientes.
Desenvolvida uma aplicação completa para nutricionistas gerenciarem seus pacientes.
## Tecnologias e práticas utilizadas
- Python 3.8
- Django 4.2
- SQLite
- Arquitetura MVT## Funcionalidades
- Autenticação, Cadastro e Ativação de Usuários
- Gestão de Pacientes, seus Dados Laboratoriais e seus Planos Alimentares###
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/cadastre-se.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/logar.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/gerenciar_pacientes.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/novo_paciente.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/dados_dos_pacientes.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/dados_do_paciente.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/dados_do_paciente_detalhes.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/plano_alimentar_paciente.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/adicionar_refeicao.png)
![alt text](https://raw.githubusercontent.com/samuel-oldra/NutriLab/main/README_IMGS/adicionar_opcao.png)## Comandos
### pip
```
pip list --outdate
pip install --upgrade pip setuptools Django ...
```### virtualenv (windows)
```
python -m venv env
env\Scripts\activate.bat
env\Scripts\deactivate.bat
```### Instalar bibliotecas, gravar/instalar requerimentos
```
(env) pip install Django
(env) pip install Pillow(env) pip freeze > requirements.txt
(env) pip install -r requirements.txt
```### Criar projeto
```
(env) django-admin startproject nutrilab .
```### Criar super user (Django Administration)
```
(env) python manage.py createsuperuser (admin/admin)
```### Criar apps
```
(env) python manage.py startapp autenticacao
(env) python manage.py startapp plataforma
```### Migrations
```
(env) python manage.py makemigrations
(env) python manage.py migrate
```### Executar projeto
```
(env) python manage.py runserver
```