Skip to content

API with Django REST Framework RESTAPI for default , of creations of projects title , description and technology.

Notifications You must be signed in to change notification settings

diegoperea20/Django-REST-mysql-RESTAPI-Default

Repository files navigation

Django REST mysql RESTAPI Default

API with Django REST Framework RESTAPI for default , of creations of projects title , description and technology.

# create project 
django-admin startproject Name_Project .

# run project
python manage.py runserver

# create app
python manage.py startapp Name_App


# Do migrations (dtabase models)
python manage.py makemigrations

python manage.py migrate

GET

StepLast

POST

StepLast

PUT

StepLast

DELETE

StepLast

Optional steps to implement

  1. Use Dockerfile
  2. Use virtual enviroments and apply requirements.txt
#virtual enviroment with conda 
conda create -n my_enviroment python=3.10.12
pip install django
pip install djangorestframework
#if use mysql
pip install mysqlclient

#OR

#pip freeze > requirements.txt
pip install -r requirements.txt

About

API with Django REST Framework RESTAPI for default , of creations of projects title , description and technology.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published