Fully functional e-commerce website with back-end using Django and front-end using React. Integrated with Stripe for payments and used React-bootstrap components for styling. Project is live at: https://proshop-web.vercel.app.
demo.mp4
To run this project locally on your machine,
- Clone this repository.
- Make sure you have python and node installed.
- Open this project and run following cmd to install dependencies:
pip3 install requirements.txt
- Create a .env file with contents as .env.example file.
SECRET_KEY=
DEBUG=
STRIPE_API_KEY=
DATABASE_URL=
In case you do not want to provide a database url, uncomment line 87 to 92 in settings.py file.
drf-react-ecommerce/backend/settings.py
Lines 87 to 92 in d31c353
drf-react-ecommerce/backend/settings.py
Line 94 in d31c353
python3 manage.py makemigrations
python3 manage.py migrate
- Now turn on the server using
python3 manage.py runserver
Now the application is running at port 8000 by default i.e. http://127.0.0.1:8000
.