Django rest framework shopping cart With Vuejs
Django-Vue Shopping Cart
Django rest framework shopping cart With Vuejs. This project provides a template for local development.
Stripe Integration
Instructions on how to connect Stripe.
Features
- Log in
- Auth Token login
- via username & password
- Register
- Reset password
- Forgot password
- Change password
- Change profile
- Customer address and phone number
- Star rating system
- Inventory management system
Functionality Store Admin
- Upload products through django admin
- Images will uploaded to AWS S3
Requirements
@vue/cli 4.5.13 | Python 3.9.4 | Nodejs ^16.13.1 | Postgresql
- Database engine and email service
- AWS S3 account
Setup django
- Fork Repository.
- Create a new directory
- cd to your new directory
- Clone Repo
git clone https://github.com/<your-github-username>/django_store.git
- cd django_store
- Create your virtual environment
pip install pipenv
pipenv install
pipenv shell
- Configure settings.py (database connection, email and AWS)
- Run your migrations
# Use py manage.py on windows
python manage.py makemigrations
python manage.py migrate
- Create your superuser
# Use py manage.py on windows
python manage.py createsuperuser
- Activate local project
# Use py manage.py on windows
python manage.py runserver
Setup Vue
- Open new terminal
cd mystore
cd frontend
npm install
npm run serve
Donation
If you like this project, buy me a cup of ☕ ?