Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Official repo for APKrona.se
README 전체를 불러오는 중입니다.
README 전문 보기 ↗This is an application to view Systembolaget's products sorted by their APK (ml alcohol per SEK) and more. It is live at apkrona.se.
Marcus Lindholm
Systembolaget's own API does not expose the information needed to calculate and compare products by APK, so the app maintains its own database instead.
Rather than scraping the website, the app now pulls the full product catalogue from a community-maintained JSON API (susbolaget.emrik.org). For every product it computes the metrics the site is built around — APK (alcohol × volume / (100 × price)) and VPK (volume per krona) — normalizes the category, name and taste data into a searchable field, and upserts everything into a PostgreSQL database via Prisma. Products that haven't appeared in the source for more than six days are pruned.
This update runs once per day. A separate step also records a daily ranking snapshot for each product, so the site can show how a product's APK and rank have moved over time.
The website reads from this database through Next.js API routes, which handle pagination, filtering (by type/subtype, order-only items, gluten-free, search), sorting, and random product picks.
axios)/api/scrapeProducts — fetches, formats and upserts products, then prunes stale ones/api/updateRankings — writes the daily APK ranking snapshots