Introduction: Online shop restful backend
Technologies used: Django, django_rest_framework, Docker, Nginx.
Purpose: The purpose of this project is to create an online shop backend that provides users with necessary features like product listings, cart management, order tracking and delivery system for costumers.
Prerequisites
- Docker should be installed and running on your machine.
Steps
- Clone the project from the GitHub repository.
-
Move into the project directory and run "docker-compose up" to start the project.
-
Open your web browser and go to http://localhost:8000/ to view the app api's.
The project starts with the following folders: django folder contains the backend configuration and codes for different type of backend apps such as:
that includes user model and authentication based on phone number and password.
for third party person who can register a new stor inside the website.
this part include product models and like category subcategory tags images for product_line.
this app contains comments, rate and adding product to favorite table.
here is the cart model for the customers who can buy products.
Explain how to get started with the project without docker and nginx, from installation to running the server.
-
install python
-
py -m venv venv
-
.\venv\Scripts\activate
-
cd ./django
-
pip install -r req.txt
-
py manage.py makemigrations
-
py manage.py migrate
-
py manage.py createsuperuser
-
py manage.py runserver