Skip to content

mariogarcia-ar/django-react-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django

see https://www.youtube.com/watch?v=38XWpyEK8IY

pip install django==4.2
pip install djangorestframework
pip install django-cors-headers
pip install coreapi
pip install coreapi-cli
django-admin startproject myreactrest .
django-admin startapp tasks 

python manage.py makemigrations
python manage.py migrate

python manage.py createsuperuser

see https://github.com/FaztWeb/djangorestframework_crud

create the serializer

vscode: select the python version for anaconda

deploy on render.com https://render.com/pricing#compute

React

Install Vite

npm create vite

cd client
npm install
npm run dev

see https://vitejs.dev/

open http://localhost:5173/

routers

npm i react-router-dom 
npm i react-hot-toast
npm i react-hook-form
npm i axios

install https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published