Project name: WeatherApp + Angular8+ Tech stack: J2EE, Angular8+
Project made during application for Intern Position at ITWare.
// 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+
- Basic project structure
- Components
- Page layout
- Service providers
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"
- Enter a city name, and fint the weather information from a public, external API (eg. openweathermap.com)
- Save the weather information to local database for the city that was entered
- List the cities and weather information that are in our local database
- Can delete city from out local database
- Weather data is automatically refreshed in the background using a scheduled service
- Add new city weather data
- Get list of weaher data from our local database
- Delete city from out local database
- Create Angular 8+ project
- Create a user interface components as shown below in the diagram 0. app.component 0. search.component 0. citylist.component 0. cityitem.component
- Connect server side calls
- Build + Run + Test the application
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? | ✅ |