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许可证获得许可的 - 有关详细信息,请参见许可证文件。