Skip to content

Python | Django | Django-ninja Esta REST API desenvolvida em Python utilizando Django e Django-Ninja. A API foi criada com o objetivo de aprendizado e serve como um gerenciador de livros, permitindo o armazenamento, avaliação e comentário dos livros.

Notifications You must be signed in to change notification settings

UerikSilvaCavalcante/Rest_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API

  • Using Django and Django-ninja

Function

This is a REST API developed in Python and Django, using the django-ninja library to facilitate the organization and creation of the CRUD for this API.

Objective

This API has a simple objective, as it was made purely for learning purposes. It is a book manager, where you can store books and also review them by giving a rating and adding a comment.

Technologies

  • Python
  • Django
  • Djnago-Ninja
  • SQLite3

How to use

  • (Optional) create a Python virtual environment

  • Activate it

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  • Install Django

        pip install django
    
  • Install Django-Ninja

        pip install django-ninja
    
  • Run the makemigrations from manage.py to update the migrations

        python manage.py makemigration
    
  • Run the migrate from manage.py to apply the migrations to the database

        python manage.py migrate
    
  • Run the server to start the API

        python manage.py runserver
    

About

Python | Django | Django-ninja Esta REST API desenvolvida em Python utilizando Django e Django-Ninja. A API foi criada com o objetivo de aprendizado e serve como um gerenciador de livros, permitindo o armazenamento, avaliação e comentário dos livros.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages