A small Node/Express app that visualizes the countries, US states, and Canadian provinces I've visited (and ones I've planned) on an interactive amCharts world map. Visits are stored in a local SQLite database via Prisma, and the UI supports browsing place lists and logging new visits.
- Node + Express server (
index.js,routes/api.js) - Prisma + SQLite for persistence (
prisma/schema.prisma,prisma/dev.db) - Static frontend in
static/index.htmlusing vendored amCharts 5 (static/lib/amcharts5/)
npm install
npx prisma db push # create the SQLite tables
node index.js # starts on PORT from .env (default 5556)Then open http://localhost:5556/.
.env only needs:
DATABASE_URL="file:./dev.db"
PORT=5556
GET /api/visits— list all visitsPOST /api/visits— upsert{ type, code, status, visitedAt }wheretypeiscountry/state/provinceandstatusisvisited/plannedDELETE /api/visits/:id— remove a visit
prisma/seed.js is an optional example for bulk-inserting visits (empty by default).
AI was used to add the backend, visit-logging UI, and place list view in June of 2026. Everything else on this project was created by Ilan Luciano without the use of AI.