Mini Project Docs
Mini Project Docs
on
WEATHER WEBSITE
Submitted in partial fulfillment for award of
BACHELOR OF TECHNOLOGY
Degree
In
COMPUTER SCIENCE & ENGINEERING
(INTERNET OF THINGS)
2023-24
1. INTRODUCTION 1
3. APPLICATION ARCHITECTURE 5
5. PROJECT SNAPSHOT 15
6. LIMITATION 17
7. FUTURE SCOPE 18
8. REFERENCES 19
LIST OF FIGURES
INTRODUCTION
In our simple weather website you can find the most up-to-date and accurate information about the
weather conditions in your area and beyond. Our website is designed to provide you with easy
access to real-time data on temperature, humidity, and various other weather related data.
Our user-friendly interface makes it easy to search for weather information by location, and our
maps and visualizations help you quickly understand the current and forecasted weather patterns.
Additionally, our website offers a range of tools and resources to help you plan for severe weather
events and stay safe during extreme conditions.
In creating a weather website, we intitially started by getting the hang of all the technologies. We
started with html. We used html to create the general structure of our website. Initially we put
dummy values so as to test our project.
Then we started writing the designing portion of the wesite. We spended a significant amount of
time to storyboard and come up with multiple designs. Finally we chose a minimalistic type of
design. We used plain css to bring design to our project.
Finally it was time to make our website dynamic. We achieved this using Javascript using which we
were able to mainpulate DOM and now we were ready to start working with API's
We used OpenWeatherAPI to get real time data of weather. It allowed us to be able to get data such
as temperature, pressure, etc to be stored in json form and we are able to use json to manipulate the
data further on.
[1]
1.3 Technologies Used
1.3.1 Javascript
Client-side validation
1.3.2 Json
JSON (JavaScript Object Notation) is a lightweight format that is used for data interchanging. It is
based on a subset of JavaScript language. It has been the preferred format because it is much more
lightweight.
An ordered list of values. In most languages, this is realized as an array, vector, list, or
sequence.
Adobe After Effects is a digital visual effect, motion graphics, and compositing application
developed by Adobe Systems and used in the post-production process of film making and television
production.
After Effects has extensive plug-in support; a broad range of third-party plug-ins are available. A
[2]
variety of plug-in styles exist, such as particle systems for realistic effects for rain, snow, fire, etc.
With or without third-party plug-ins, After Effects can render 3D effects. Some of these 3D plug-ins
use basic 2D layers from After Effects. In addition to 3D effects, there are plug-ins for making
video look like film or cartoons; simulating fire, smoke, or water; particle systems; slow motion;
creating animated charts, graphs, and other data visualization; calculating the 3D movement of a
camera in a 2D video shot; eliminating flicker, noise, or rigging lines; translating timelines from
FCP or Avid; adding high-end color correction; and other workflow improvements and visual
effects.
Weather APIs are Application Programming Interfaces that allow you to connect to large databases
of weather forecast and historical information. The weather API provides enough weather data for
basic weather information (eg current weather, forecast, UV index data, and historical weather
information). You can use geolocation and names to get a city location.
[3]
CHAPTER 2
Software Requirements:
Hardware Requirements:
[4]
CHAPTER 3
APPLICATION ARCHITECTURE
In order to make a weather website we need to work on main 2 aspects of our project. These are as
follows
Front-End
Front-End is the user side of our application. It is that region of our website using which the
user interacts with our website. We have make this using Html, Css, Javascript. Html file gives us
the general structure of our webpage. Css elements is used to style our website and finally we use
Javascript to add scripts to make our website more interactive.
Back-End
The back end of our website uses OpenWeatherApi's one of the weather API to get the
relevent Weather data and the we use vanilla Javascript to manipulate the JSON in order to display
the weather details.
In addition to these main components, some other key considerations when designing the
application architecture for a weather website include:
API Integration: Choosing a reliable and accurate weather API to integrate into the
application. Some popular options include OpenWeatherMap, Weather Underground, and
AccuWeather.
Security: Ensuring that the website is secure and that user data is protected from potential
vulnerabilities or attacks.
Scalability: Planning for future growth of the website, including the ability to handle
increased traffic and additional features.
[5]
Performance: Optimizing the website to ensure fast load times and smooth user experience,
including optimizing images, compressing resources, and caching frequently accessed data.
[6]
CHAPTER 4
PROJECT MODULES DESIGN
Initially we make the head portion in which we add the title of our project and we link all the scripts
and design files.
Now we start off with the main body of our website. Initially we create the header in which we only
try to focus on two elements. One is the logo of our website and other of the search bar in which
we will search the city whose data we have to find.
We now start by working on the main region of our website which will display the main weather
data of our project.
Now the only region that remains is our error page which will display the error screen if our
searched city is not found.
[8]
Now we start to design the page so that the page looks nice to navigate.
Now we start by designing the header in which we also place the logo and search bar to its position
.We also place the search icon to its correct place.
[9]
Fig 4.6 Css for Header
Now we style the main region which displays the temperature of the city along with giving the
general idea of our weather conditions.
[10]
Fig 4.7 Css for Main
After we have designed the main portion its time to also design the details region of our website.
[11]
Fig 4.8 Css for Details
Now we start to make the Javascript in order to add the dynamic nature to our website.
[12]
We make the variabes for the API key of our OpenWeatherAPI and our URL.
[13]
Finally we make the main region of our Javascript in which using the JSON data that we get from
our API.
[14]
CHAPTER 5
PROJECT SNAPSHOT
[15]
Fig 5.3 Saerching another city
[16]
CHAPTER 6
LIMITATION
Our simple weather website can provide basic information about the current weather conditions.
However, there are some limitations to our website. Some of these limitations are:-
Limited information: Simple weather websites may provide only basic information about
temperature, humidity, wind speed,etc and may not include more detailed data such as air
quality or UV index.
Lack of customization: Simple weather websites may not provide users with the ability to
customize their weather information according to their specific needs or preferences.
Limited functionality: Simple weather websites may not offer additional features, such as
weather radar or alerts, that more advanced weather websites may provide.
Lack of accuracy: Simple weather websites may not always provide the most accurate
weather information, especially during severe weather events or in areas with complex
weather patterns.
Limited location coverage: Simple weather websites may only cover a limited number of
locations, which can be a limitation for users looking for weather information about less
popular or remote locations.
Overall, while a simple weather website can be a useful tool for obtaining basic weather
information, it may not be sufficient for users who require more detailed or customized weather
information, or for those in areas with complex weather patterns or severe weather events.
[17]
CHAPTER 7
FUTURE SCOPE
While our simple weather website may have limitations in terms of location coverage, information
provided, and functionality, there is still a significant future scope for such websites. Some potential
areas of growth and development include:
Customization options: Simple weather websites could expand their customization options
to allow users to select the types of weather information they want to see, such as air quality,
UV index, or pollen levels.
Integration with smart devices: As smart devices become more popular, simple weather
websites could expand their functionality to provide users with real-time weather updates
and alerts on their devices.
Expansion of location coverage: Simple weather websites could expand their location
coverage to include more remote or less popular locations, making them more useful for
users in those areas.
Integration with other services: Simple weather websites could integrate with other services
such as travel, outdoor activities, or event planning, to provide users with weather
information that is relevant to their plans and activities.
Overall, while simple weather websites may have limitations, there is still significant potential for
growth and development in the future, as technology continues to advance and user needs evolve.
[18]
CHAPTER 8
REFERENCES
In order to make this peoject of ours, we had taken references from a lot of palces such as
For learning how API's work, we took reference from from freeCodeCamp's youtube video
about API's.
https://youtu.be/GZvSYJDk-us
For getting general idea for both HTML and CSS we used SuperSimpleDev's video on
HTML and CSS.
https://youtu.be/G3e-cpL7ofc
[19]