Skip to content

team11webdev/climate_change_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Climate Change Data Visualization Application

The project developers

The project is developed by the second-year Information Technology students from Oulu University of Applied Sciences:

We have been working together throughout the whole project and everyone has been equally involved in all the parts of the development process.

Introduction of the project

This project is about creating a climate change data visualization application as part of the Advanced Web Applications Project-course. Eight charts show historical global temperature and CO2 changes in diverse ways. The user can create an account and login to the application. The user can then make customized views by including various charts, customized descriptions and share the link to these views with public and unique URLs. The finished application will be available on the public internet.

  • Video of the project, Link

Description of the project

The project has been developed by following Agile software development method and Kanban framework template in GitHub Projects has been used to implement it. Communication of our team has been constant throughout the project and the project progressed as expected. Our team has been meeting evenly on campus and remotely on Teams. Also, teacher meetings have been held weekly and everybody has been able to attend. Overall, our team has been self-organizing, communicative, and able to deliver well-functioning application based on the project requirements.

Technologies used in the project

Tools used in the project

The architecture of the application

Application Architecture Image

Interface description

The application consists of different views and Signup/Login functionality. These can be accessed through the navigation bar on top of the page:

  1. Atmospheric CO2 and temperatures: 6 different kind of line charts displaying diverse climate change data
  2. Emission sources: Line chart and doughnut chart displaying CO2 emissions data
  3. Create a custom view:
    • This view can only be accessed as a logged in user
    • User can create custom views including any of the available charts and include custom descriptions for them
    • User can choose between two layouts, one column layout or two column layout
    • One user can have many created visualization views with unique URL tags
    • User can delete the visualization views created
  4. User-specific visualization view:
    • This view is accessible without logging in and has a public address
  5. Signup/Login
    • A user is created by entering an email, username and password, which then enables logging in to the application
    • The user is able to delete the user
    • Deleting the user also deletes all visualization views of the user

Smallest supported window size is 600px horizontal.

How to install and use the application (locally)

Step one:

Download the project / clone the project repository

Step two:

Within the root folder, install the following dependencies:

Step three:

Go to the server folder:

npm init -y
npm install express

Install the following dependencies:

Step four:

Create the local database :

  • Start mysql and import the charttest.sql file into your local database
  • Create a database.js file inside the server folder as follows, and modify the ‘xxxx’ part as needed:
const mysql = require("mysql");
        const connection = mysql.createConnection({
         host: "xxxx",
         user: "xxxx",
         password: "xxxx",
         database: "xxxx",
   });

module.exports = connection;

Step five:

To start the application, run the following command:

cd server
node index.js
cd ..
npm start