luisdralves / places-ive-been-in

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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";

const today = new Date().toISOString().slice(0, 10);

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

About

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

License:GNU General Public License v3.0


Languages

Language:TypeScript 87.2%Language:JavaScript 5.6%Language:Shell 4.2%Language:HTML 2.2%Language:CSS 0.9%