from django.urls import path
from . import views

urlpatterns = [
    path('', views.apiOverview,name = 'apiOverview'),
    path('products/', views.index,name = 'index'),
    path('product-list/', views.ShowAll,name = 'product-list'),
    path('product-detail/<int:pk>/', views.ViewProduct,name = 'product-detail'),
    path('product-create/', views.CreateProduct,name = 'product-create'),
    path('product-update/<int:pk>/', views.updateProduct,name = 'product-update'),
    path('product-delete/<int:pk>/', views.deleteProduct,name = 'product-delete'),
]