Skip to content

luisdralves/places-ive-been-in

Repository files navigation

places-ive-been-in

A react app to keep track of places I've been in

Preview

Usage

  1. Create src/core/config/points.ts and add some points, as such:
import { Point } from 'types/point';

export const points: Point[] = [
  {
    dates: [
      ['1996-08-10', '2019-10-10'],
      ['2022-04-04', '2024-01-01']
    ],
    lat: 41.70202218723603,
    lon: -8.834946931369325,
    name: 'Viana do Castelo'
  }
];
  1. Add images to subfolders in public/images matching the names of the points
  2. Generate image thumbnails and paths
bun install
bun optimize-images
bun build-image-paths
  1. Run the app
bun dev