react-django

Avatar of 蔡易儒.
Avatar of 蔡易儒.

react-django

程式設計師
New Taipei City, Taiwan

react-django

練習連接react 及 django


功能:

使用react串接django(作為api資料庫)


技術:

前端(html/css/javascript):

-Sassy css(Scss)

-react

後端(python):

-django

-django-rest-framework(viewset)

-django-cors-header


github:

https://github.com/ERu085730/react-django


DEMO:

目前尚未成功push所以若要Demo請clone此project並完成以下步驟:

1.至project目錄

2.先創建python虛擬環境

3.於虛擬環境cmd輸入 pip install -r requirements.txt

4.確認有裝nodejs後於cmd輸入 npm i

5.分別於虛擬環境cmd輸入py manage.py runserver及另一cmd輸入 npm run start

即可於http://127.0.0.1:8000/api/ 、 http://localhost:3000 看到前端及後端網頁

react-django 練習連接react 及 django 功能: 使用react串接django(作為api資料庫) 技術: 前端(html/css/javascript): -Sassy css(Scss) -react 後端(python): -django -django-rest-framework(viewset) -django-cors-header github: https://github.com/ERu085730/react-django DEMO: 目前尚未成功push所以若要Demo請clone此project並完成以下步驟: 1.至project目錄 2.先創建python虛擬環境 3.於虛擬環境cmd輸入 pip install -r requirements.txt 4.確認有裝nodejs後於cmd輸入 npm i 5.分別於虛擬環境cmd輸入py manage.py runserver及另一cmd輸入 npm run start 即可於http://127.0.0.1:8000/api/ 、 http://localhost:3000 看到前端及後端網頁
Avatar of the user.
Please login to comment.

Published: Jul 19th 2021
280
8
0

Tools

github
GitHub
git
Git
django
Django
python
Python
javascript
JavaScript

git
django
react
html/css/javascript

Share