Inshop Ecommerce website using react and django
Hi! here iam created ecommerce website using react.js, django web framework and django restframework. In this project I used django for a backend. Django restframework used to convert the backend to api format. In frontend I used react.js for webpage design and redux for state management and user authentication I use jwt token authentication.
Windows:
For creating React app
npx create-react-app [Project Name]
Here we are using Anaconda virtual enviranment
conda create -n env name python=version
conda activate env name
Describe how to install all development dependencies and virtual environment setup
dependencies for frontend:
- Check out the React-bootstarp
- Check out the Axios
- Check out the React-bootstrap-validation
- Check out the React-paypal-button-v2
- Check out the React-redux
- Check out the React-router-bootstrap
- Check out the React-devtools-extensions
- Check out the Redux-thunk
- Check out the Redux
- Check out the React-bootstarp
After we installed the above dependencies check the package.json file wheather the dependencies are installed
"dependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"axios": "^0.21.1",
"create-react-class": "^15.7.0",
"react": "^17.0.2",
"react-bootstrap": "^1.5.2",
"react-bootstrap-validation": "^0.1.11",
"react-dom": "^17.0.2",
"react-paypal-button-v2": "^2.6.3",
"react-redux": "^7.2.4",
"react-router-bootstrap": "^0.25.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"redux": "^4.1.0",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.3.0",
"web-vitals": "^1.1.1"
},
Requriements for Django:
pip install Django==3.1.4
pip install django-cors-headers==3.6.0
pip install djangorestframework==3.12.2
pip install djangorestframework-simplejwt==4.6.0
pip install Pillow==8.0.1
pip install PyJWT==2.0.1
pip install pytz==2021.1
pip install sqlparse==0.4.1
pip install typing-extensions==3.7.4.3
pip install wincertstore==0.2
Runtime version:
Python 3.8.8
BHARATHA KUMAR – [email protected]
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/bharath2408/react-ecommerce-website
- Fork it (https://github.com/bharath2480/react-ecommerce-website/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request