A next-generation social media platform featuring a Bento grid layout, 3D illustrations, real-time messaging, and interactive elements.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ ├── posts.ts # Post management
│ │ ├── users.ts # User management
│ │ └── messages.ts # Real-time messaging
│ └── index.ts # Main server entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── BentoGrid.tsx # Grid layout component
│ │ ├── UserProfile.tsx # Profile management
│ │ ├── Chat.tsx # Messaging interface
│ │ └── Post.tsx # Post components
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
├── types.ts # Shared TypeScript types
└── utils.ts # Shared utilities
The platform is automatically deployed on Val Town. Access the main application through the HTTP endpoint.
GET / - Main applicationPOST /api/auth/login - User authenticationGET /api/posts - Fetch posts with paginationPOST /api/posts - Create new postGET /api/users/:id - Get user profilePUT /api/users/:id - Update user profileWebSocket /api/messages - Real-time messaging