Project logo

Django REST API

Status GitHub Issues GitHub Pull Requests License


A simple Django REST API, using Swagger e Redoc

📝 Table of Contents

🧐 About

Essa API segue como base a estrutura da aula introdutória sobre REST API's de Django da Alura, com algumas edições na configuração de banco e com a adição de uma documentação Swagger/Redoc.

🏁 Getting Started

Here you can the how to install this system on your machine and the prerequisites to run it.

Prerequisites

Installing

https://github.com/ThiagoKS-7/Django-REST-API---Api-de-escola.git
cd Django-REST-API---Api-de-escola
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser --username="admin" --email=""

Configurar email

- Criar email;
- ir na Google Accounts;
- Ativar 2-step verification;
- Pesquisar por app passwords;
- criar arquivo .env com base no .env-example;
- Gerar password para colocar no EMAIL_HOST_PASSWORD do .env

🎈 Usage

Add notes about how to use the system.

⛏️ Built Using

✍️ Authors

See also the list of contributors who participated in this project.