Giter Site home page Giter Site logo

weatherapp_frontend's Introduction

weatherapp_frontend

Preparation Project

Weather JAVA EE + Angular+ UI

Project name: WeatherApp + Angular8+ Tech stack: J2EE, Angular8+

Lesson goals

Project made during application for Intern Position at ITWare.

To run

// Clone the repository and run with npm npm install npm run start

ps.: The listed cities that are showing are mockups. To see real time data, you must run the backend in your localhost:8080. In case of running the backend in other address, configure it in ./src/app/app.constants.ts.

Add and Delete will only work if the backend is running.

Angular 8+

  1. Basic project structure
  2. Components
  3. Page layout
  4. Service providers

Homework description

Create a client-server application, the main function is to show a cities weather (temperature) data on a simple web interface, so we call our application "WeatherApp"

The main functions of the WeatherApp

  1. Enter a city name, and fint the weather information from a public, external API (eg. openweathermap.com)
  2. Save the weather information to local database for the city that was entered
  3. List the cities and weather information that are in our local database
  4. Can delete city from out local database
  5. Weather data is automatically refreshed in the background using a scheduled service

Use cases

  1. Add new city weather data
  2. Get list of weaher data from our local database
  3. Delete city from out local database

Tasks to be completed

Frontend

  1. Create Angular 8+ project
  2. Create a user interface components as shown below in the diagram 0. app.component 0. search.component 0. citylist.component 0. cityitem.component
  3. Connect server side calls
  4. Build + Run + Test the application

Checklist

Component Task Description Done (Y/N)
Frontend Create project structure Create a new empty Angular project with Hello Weather message only.
Frontend Build and deploy project Build and run the empty project on a webserver.
Frontend Component: Add city component Create the visuals of the Add city component, without REST calls.
Frontend Component: List cities component Create the visuals of the List cities component, without REST calls.
Frontend Component: City listitem component Create the visuals of the City listitem component.
Frontend Main application component Layout the other component into the main app screen.
Frontend REST: addCity integration Add server side integration to the Add city component (addCity API call)
Frontend REST: listCity integration Add server side integration to the List cities component (listCities API call)
Frontend REST: deleteCity integration Add server side integration to the City listitem component (deleteCity API call)
Frontend Error handling Handle and visualize possible error messages from the server.

Backend +

Frontend

CHECK ALL THE APPLICATION IS WORKING? CHECK ALL THE APPLICATION IS WORKING?

weatherapp_frontend's People

Contributors

kaliloteixeira avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.