ORF Archiv UI is a web application powered by SvelteKit. It serves links to ORF news stories from multiple sources, which are persisted in a MongoDB document store. This app includes both frontend and backend (Endpoints) code, so no separate backend application is required.
- Start and configure a local MongoDB document store (more info)
- Install NodeJS and npm
- Optionally: create .env.local (copy from .env file) and configure ORFARCHIV_DB_URL environment variable if your MongoDB is not running on mongodb://localhost:27017
npm installnpm run dev- Visit http://localhost:3001
npm installnpm run storybook- Visit http://localhost:6006