Files
aurora-moments/api/apps/accounts/urls.py
T
KrisandClaude Sonnet 5 4877e0a779 Initial commit: Aurora Moments self-hosted photo/video sharing platform
Django/DRF + PostgreSQL/Redis/Celery backend with accounts, library,
moments, and notifications apps; React/TypeScript/Vite frontend with
Instagram-style sidebar nav, feed, profiles, nested comment replies,
notifications, and photo/video upload with ffmpeg-generated posters.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-08-10 10:28:53 -05:00

14 lines
432 B
Python

from django.urls import path
from rest_framework.routers import DefaultRouter
from .views import FollowViewSet, MeView, RegisterView, UserViewSet
router = DefaultRouter()
router.register("users", UserViewSet, basename="user")
router.register("follows", FollowViewSet, basename="follow")
urlpatterns = [
path("register/", RegisterView.as_view(), name="register"),
path("me/", MeView.as_view(), name="me"),
] + router.urls