Skip to content

hamradio-si/ham-edu

Repository files navigation

Radioamaterski izobraževalni portal

Next.js + Strapi spleta stran za izobraževanje radioamaterjev in kandidatov za radioamaterski izpit.

Zaženi "development" okolje

yarn dev

Zaženi "production" okolje

yarn build
yarn start

Okoljske spremenljivke

File: .env.local

WEBSITE_URL=https://edu.jkob.cc
STRAPI_URL=https://strapi.jkob.cc
STRAPI_TOKEN=...
NEXT_PUBLIC_ANALYTICS_URL=http://umami.jkob.cc/script.js
NEXT_PUBLIC_ANALYTICS_ID=...

Priprava Strapi Webhooka

  • Pojdi na [STRAPI_URL]/admin/settings/webhooks
  • Dodaj nov webhook
  • URL: [WEBSITE_URL]/api/strapi
  • Headers: Authorization: Bearer [STRAPI_TOKEN]
  • Events: entry.create, entry.update, entry.delete, entry.publish, entry.unpublish

TODO

  • Tečaji
    • Online tečaji
    • Posneti tečaji
    • Tečaji v živo
    • Uvajanje / začetki radioamaterstva
  • Pagination
  • Iskanje po vsebini
  • Zbirka vprašanj
    • Pagination
    • Search
    • Filter
  • Simulator izpita
  • Scroll to top button
  • Footer
  • Revalidate API + Webhook
  • Analytics
  • SEO
    • Metadata
    • OpenGraph
    • Twitter
    • JSON-LD ?
  • Sitemap, robots.txt
  • PWA ??