Quite basic but yet fully functioning online shop with following features:
- Catalogue with search and sorting.
- Detailed info about each product.
- Creating, updating and deleting products.
- Shopping cart implemented with AJAX reqeusts.
- Registration, authentication and permissions.
- Good-looking and responsive web design.
Backend is built with Python and Django, database is MySQL. Package django-environ is used for managing environment variables. There are HTML templates with Tailwind CSS and vanilla JS on frontend.
- Clone the repository (e. g.
git clone https://github.com/adrian-kalinin/webshop) - Install requirements (e. g.
python -m pip install requirements.txt) - In
webshopapp create.envfile with variables based on.template.env. Or simply set all environment variables via terminal, and additianally setREAD_DOT_ENV_FILEasFalse. - Run server with
python manage.py runserver