Skip to content

RegioHub/soep-regiohub-dataexplorer

Repository files navigation

SOEP RegioHub DataExplorer

👉🗺️📊 https://regiohub.github.io/soep-regiohub-dataexplorer/

Web application for interactive exploration of data at SOEP RegioHub

Screenshot of the app interface

Development

Prerequisites

  • Node.js

Setup

  1. Clone the repository
  2. Install dependencies: npm install

File structure

(See also SvelteKit documentation: https://kit.svelte.dev/docs/routing)

  • src/routes/:
    • +page.svelte: Home page
    • +layout.svelte: Layout for all pages (here: only the home page)
    • *.svelte (Pascal case): Components used in the home page
    • *.ts: TypeScript files for data processing and utility functions
    • metadata.json: Metadata for the visualized variables
    • assets/: Static files (data, images)

Key dependencies

Testing and deployment

  • Start development server and open browser
npm run dev -- --open
  • Build for production
npm run build
  • Serve production build locally
npm run preview
  • Deploy to GitHub Pages
npm run deploy