Skip to content

Track cities you've explored globally, select them on an interactive map, and add personalized notes.

Notifications You must be signed in to change notification settings

ayushnagarcodes/world-wise

Repository files navigation

World Wise


Watch live here ➡️


Key Features

  • Keep a record of the cities you've explored worldwide.
  • Choose cities effortlessly through an interactive map interface.
  • Log the date of your visit and add personalized notes.

Tools and Packages

  • Build Tool: Vite for efficient project building.
  • Map Integration: Utilizes Leaflet and React Leaflet for the interactive map.
  • React Router to implement routing.
  • This project uses Netlify functions to create an API endpoint to get the required data, post new data and delete existing entries.
  • To run the project locally, I have used json-server node package.

Project Setup

Make sure node and npm are installed. Run the following command in the terminal:

  1. npm i or npm install
  2. npm run dev
  3. Open a new terminal and enter npm run server command.
  4. To run locally: Copy CitiesContextLocal.jsx inside data/ to src/contexts and rename it to CitiesContext.jsx (replace any existing files).
  5. To set up Netlify Functions for deployment on Netlify: Copy CitiesContextNetlify.jsx inside data/ to src/contexts and rename it to CitiesContext.jsx (replace any existing files).
    Note: The folder netlify and the file public/_redirects are necessary for the app to work when deployed on Netlify.

About

Track cities you've explored globally, select them on an interactive map, and add personalized notes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published