A CRUD website for selling products built by the Django framework and Django rest framework.
- Create a virtual environment for this project.
- Use
pip install -r requirements.txtinstall dependencies packages. - Sign up in Stripe and add your SECRET_KEY, PUBLIC_KEY and ENDPOINT_SECRET in .env file.
- Run
python manage.py makemigrationsthenpython manage.py migrate. - Create super user
python manage.py createsuperuser. - Run server
python manage.py runserver. - For Stripe payments to work you need to first login with
stripe loginthen to listen to webhook runstripe listen --forward-to localhost:8000/payment/webhook/.
- User Authentication
- Cart management with AJAX requests
- Payment with Stripe
- CRUD operations for Addresses
- View orders
- All operations can be done via API endpoints



