adding details

This commit is contained in:
abhishekpythons
2026-05-19 04:38:02 +05:30
parent 246b5381ce
commit a16520420d
63 changed files with 6123 additions and 1 deletions

20
backend/api/urls.py Normal file
View File

@@ -0,0 +1,20 @@
from django.urls import path
from . import views
app_name = "api"
urlpatterns = [
path("health/", views.HealthView.as_view(), name="health"),
# content
path("products/", views.ProductListView.as_view(), name="product-list"),
path("products/<slug:slug>/", views.ProductDetailView.as_view(), name="product-detail"),
path("founders/", views.FounderListView.as_view(), name="founder-list"),
path("posts/", views.BlogPostListView.as_view(), name="post-list"),
path("posts/<slug:slug>/", views.BlogPostDetailView.as_view(), name="post-detail"),
path("jobs/", views.JobOpeningListView.as_view(), name="job-list"),
# submissions
path("contact/", views.ContactSubmissionView.as_view(), name="contact"),
path("newsletter/", views.NewsletterSignupView.as_view(), name="newsletter"),
path("apply/", views.JobApplicationView.as_view(), name="apply"),
]