EcommerceWebsite
1.0.0

該項目是使用React和Redux為前端建造的在線市場,而Django則使用Django Rest框架(DRF)為後端建造。設計使用Bootstrap設計。
克隆存儲庫:
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-name創建虛擬環境並激活它:
python -m venv venv
source venv/bin/activate # On Windows use `venvScriptsactivate`安裝後端依賴性:
pip install -r requirements.txt設置數據庫:
python manage.py migrate創建一個超級用戶:
python manage.py createsuperuser運行開發服務器:
python manage.py runserver導航到前端目錄:
cd frontend安裝前端依賴性:
npm install啟動前端開發服務器:
npm starthttp://localhost:3000http://localhost:8000/api git checkout -b feature/your-feature )git commit -m 'Add some feature' )git push origin feature/your-feature )該項目是根據MIT許可證獲得許可的 - 有關詳細信息,請參見許可證文件。