Download the Base App

The Weather app is used to display the weather data for a city based on user inputs. You will be updating this app to integrate with the external API provider. 


Import the App to Studio

  1. Open Neutrinos Studio.
  2. Click on the Studio home page, and select the downloaded base app from your local machine.
  3. The app gets imported to the Studio.
Warning This app is built on Neutrinos Studio version 6.0.3. If you are using a later version of Neutrinos Studio, migrate the app to the latest version by clicking  on the app card. After migrating the app, follow manual migration steps (if any) mentioned in the Migration guide.

Explore the App

Click the app to open its Application page and explore the existing elements.

Pages

Click the Pages option on the Studio Application page to see the app pages.

Pages in the weather app

The app will display the following pages:

weather search page

Weather card page

Log page

Styles

Click the Styles option on the Studio Application page to view the app styling. The following CSS styling is set for the  app pages and its components:

CSS
/*Importing default angular material css theme. */

@import "~@angular/material/prebuilt-themes/deeppurple-amber.css";
@import "nDefaults.scss";
body {
padding: 5px;
}
* {
box-sizing: border-box;
font-family: Roboto,"Helvetica Neue",sans-serif;
}

mat-grid-tile {
background: #b9c6d8;
border-radius: 4px;
}

.weathers {
padding: 0 5px;
}

.weather-card {
border: 2px solid rgba(0, 0, 0, 0.12);
border-radius: 15px;
width: 500px;
}

mat-card-title {
font-weight: bold;
}

.get-weather-button {
color: white !important;
background: #343438 !important;
}

Data Model

Click the Models option on the Studio Application page menu bar to view the data models.

The logobject data model is created as follows. This data model determines the logical structure of the logged data.

Data models

Routes

Click the Routes tab to view the app navigation. On deployment, routes enable navigation from one page to another as a user performs various tasks using the application.  

Routes page