A marketplace platform for photographers and artists to showcase their work and connect with potential clients.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── artists.ts # Artist CRUD operations
│ │ ├── portfolio.ts # Portfolio management
│ │ └── static.ts # Static file serving
│ └── index.ts # Main API server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── ArtistCard.tsx # Artist profile card
│ │ ├── Portfolio.tsx # Portfolio viewer
│ │ └── ContactForm.tsx # Contact form
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared TypeScript types
The application is automatically deployed on Val Town. The main entry point is backend/index.ts which serves both the API and the frontend.
GET /api/artists - List all artistsGET /api/artists/:id - Get artist detailsPOST /api/artists - Create artist profileGET /api/portfolio/:artistId - Get artist portfolioPOST /api/contact - Send contact message