Bilingual Online Shopping System Project with Python & Django Framework & REST API
- Back-End: Python, Django, REST API
- Data Base: PostgreSQL, MongoDB
- Front-End: HTML5, CSS3, JavaScript, Bootstrap4, jQuery, AJAX
- Clone the Project
git clone https://github.com/SepehrBazyar/Shopping.git
- Create a Virtual Environment("venv" is a Selective Name).
virtualenv venv
- Activate the Interpreter of the Virtual Environment
- Windows:
venv\Script\active
- Linux:
source venv/bin/active
- Install the Requirements
pip install -r requirements.txt
- Adjust the Data Base Amount in
settings.py
File inshopping
Directory - Write the Following Command to Create Media Directory
mkdir media
- Write the Following Command to Compile the Translations
python manage.py compilemessages -l fa
- Write the Following Command to Create Your Tables
python manage.py migrate
- Write the Following Command to Create a Superuser
python manage.py createsuperuser
- Run the MongoDB
- Write the Following Command to Run the Server
python manage.py runserver
- Its Language Changes with One Click
- "Cart" & "Contact Me" Pages are Single Page Application
- Set Cookie to Add Product to Cart without Logging in
- Animated Features in the "Cart Icon", "Category List Page" & "Carousel"