Product catalog is a simple CURD aplication to build product api. Here you can create product, get product list, update a product, assign multiple attributes and prices in a product
- Python 3.6
- Django
- Django Rest Framework
-
Clone repo
git clone https://github.com/frfahim/product-catalog.git
-
Create a virtualenv
python3 -m venv venv
-
Activate created virtualenv
source venv/bin/activate
-
Goto project directory
cd product-catalog
-
Install requirement file
pip install -r requirements.txt
-
Run project
./startapp.sh
-
To run test
python manage.py test
-
API documentation
0.0.0.0:8000/docs
If script file get permission error run
chmod +x startapp.sh
and hit./startapp.sh
again
docker-compose up
make sure you have install docker and docker compose