«BookStore» - is an electronic store, intended for selling paper books on-line via the Internet. The development process included writing a backend web application using the Django framework (with additional libraries), a frontend using HTML/CSS/Bootstrap/Javascript.
- Groups of users with permissions(Admin, Managers, Customers)
- Administrative portal
- Built-in administrative portal
- Shopping cart
- Order
- Promotions
- Product rating
- Reviews
- User profiles
- CRUD(l) for each of the listed
- The application is covered by Unit tests
- Clone project from github
git clone https://github.com/xistadi/BookStore - Create
venv#Linux/Mac python3 -m venv env#Win cmd python -m venv env - Activate
venv - Install requirements
pip install -r requirements.txt - Create folder
mediaandstatic_dev - Go to src/proj/
- Create my_local_setting.py
STATIC_ROOT = '*Here is your direction to project* \\static' MEDIA_ROOT = '*Here is your direction to project* \\media' STATICFILES_DIRS = ( '*Here is your direction to project* \\static_dev', ) EMAIL_HOST_USER = 'Your email' EMAIL_HOST_PASSWORD = 'Your email password' - Create secrets.py
SECRET_KEY = 'wa5dgjxynoz1iygl99-q@gl#-*%@hc%k4d7e#xqukg=5ql)q'
- Create my_local_setting.py
- Go to src/
- Make migrations
python manage.py migrate - Run server
python manage.py runserver
- Make migrations
- Open your web browser http://127.0.0.1:8000
- Go to src/
python manage.py test . - You'r great
