Skip to content

Repository files navigation

API Boletins Covid Seridó

API em Djangorestframework para acompanhar o número de casos do Covid-19 na região do Seridó.

Deploy

API-Boletim-Covid

How to Run:

Clone the project

git clone https://github.com/jackson541/API-Boletim-Covid.git

Go to Directory

cd API-Boletim-Covid

Install dependencies

pip3 install -r requirements.txt

Configure database

  • Install PostgreSQL
  • Go to the settings.py file in the ApiBoletimCovid folder
  • Search for DATABASES in settings.py
  • Configure your database information (name, password and port) in the option default
  • Create a table in your database with the name apicovid

Apply Migrations

python3 manage.py makemigrations
python3 manage.py migrate

Run local server

python3 manage.py runserver

Routes documentation

After running the project, go to the route:

http://localhost:8000/swagger/

Contributors:

Jackson Alves

Jonathan Tavares

About

API Rest em Django para acompanhar o número de casos do Covid-19 na região do Seridó.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages