Skip to content

lauradsc/Django-API-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoAPI CRUD project 💻

Description

In this project, you'll see a simple CRUD using Django REST Framework to create Web APIs. Converting a Model's to JSON format (serialization), rendering data to the view and creating an URL mapping to the views.

Functionalities and main resources

  • Django REST Framework to create APIs Restful
  • Django corsheaders to allow my project to be accessed
  • Used Insomnia to test API

Instalation

To be able to use the project, you need to configurate the following steps:

Commands:

git clone https://github.com/lauradsc/Django-API-CRUD.git


Initializating the virtual ambience (venv)

python -m venv venv

source env/Scripts/activate (or env\Scripts\activate in Windows)


⚠️Don't forget to configurate your Python Select Interpreter to work in the venv‼⚠️

I use VSCODE, so i press the F1 key and type " Python Select Interpreter" and the select the interpreter using venv.

Here's a quick video to show you the functions/requisitions:

djangoapi_.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages