An open API service indexing awesome lists of open source software.

https://github.com/vsbron/course-react2023-world-wise

SPA for recording travels
https://github.com/vsbron/course-react2023-world-wise

Last synced: about 1 year ago
JSON representation

SPA for recording travels

Awesome Lists containing this project

README

          

# WorldWise

React SPA that lets the user to save the list of cities/countries he visited previously

## Features

- Simple navigation that tracks what page you're currently on;
- Ability to log in the app with default credentials;
- The app screen with the visited cities on the left;
- The app screen with the map on the right side;
- Option to add or delete city from the list;

## Details

- Stylesheets are written using CSS Modules;
- Navigation in SPA is handled by React Router;
- In the App itself, once the city is clicked, the id (state) is passed in URL;
- Cities are fetched from fake API using json-server (Must run "npm run server" for app to work);
- Cities and Authentication states are managed by Context API custom components;
- Map is rendered with Leaflet API;
- The app uses Code Splitting for better performance;