Maps is a web app for building and sharing interactive world maps. Users can colour countries, add labels and links, drop markers, export a PNG, and generate shareable URLs for quick distribution.
- Customize country colours and popups on a world map
- Add markers with labels, colours, and links
- Export the map as an image
- Share a generated URL or send via email/Telegram/WhatsApp
- Create an account, log in, and save maps with descriptions
- View saved maps with preview image, saved date, and URL copy action
- Next.js (App Router) + React
- TypeScript
- CSS modules/global styles
- SVG-based map rendering
- MongoDB (user auth + saved map records)
Add these variables to .env.local:
MONGODB_URI=<your-mongodb-connection-string>
MONGODB_DB_NAME=borderlesscitizen
AUTH_SECRET=<long-random-secret>
PINATA_JWT=<your-pinata-jwt>Collections used:
userssaved_maps
npm run devThen open http://localhost:3000.
