Cities

An application built using Rest API with SpringBoot that shows the cities.

Features
You can add your favorite cities to your favourites.
App Logo

This app has following screens:

How it builded :

  • First, the api was created with the SpringBoot Java framework.You can see the codes in CityApi file.
  • Then, city model was created and api access was provided with http.

  • Cities shown on home page and also the cities printed on the screen were added to the favorite list and displayed on the second page.

To use this app follow below instructions :

  • Run the City Api file using an IDE and make sure you view the json data in the web browser.

  • Then write your own ip4 address to the url in CityApi.dart

'http://Your_IP_Address:8080/cities'

  • To run the flutter application, clone this app using below syntax:

git clone https://github.com/Aleynaesr/city-app-with-springboot-rest-api.git

  • After cloning, install packages using below syntax:

flutter pub get

  • Above command will install all the necessary packages.

  • Run the app on your mobile using below command:

flutter run

Thank you happy coding 🎈 👩🏻‍💻