Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 862 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 862 Bytes

Product Catalog

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

Tech

  • Python 3.6
  • Django
  • Django Rest Framework

Installation

  • 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

  • docker-compose up

make sure you have install docker and docker compose