A react app to keep track of places I've been in
- 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'
}
];
- Add images to subfolders in
public/images
matching the names of the points - Generate image thumbnails and paths
bun install
bun optimize-images
bun build-image-paths
- Run the app
bun dev