Collection and API Documentation of Indonesian National Gallery. Built using Next.js
First, run the development server:
# install dependecies
pnpm i
# run local server
pnpm dev
Open http://localhost:3000 with your browser to see the result.
- Filter
- Medium
- Classifications
- Search
- Title
- Sort
- Title
- Year
- Pagination
- Previous
- Next
- Total Rows
- Total Page
- Current Rows
Here's requirement:
- Each collection can be associated with multiple artists and mediums.
- Each artist can create multiple collections.
- Each medium can be used by multiple collections.
erDiagram
Collection {
String id PK
String title
String image
String description
String link
Int year
String classification_id FK
}
Classification {
String id PK
String name
}
Medium {
String id PK
String name
}
Artist {
String id PK
String name
String link
}
Collection }|--|{ Artist : haves
Collection }|--|{ Medium : uses
Collection }|--|| Classification : is