Giter Site home page Giter Site logo

snehanjanchatterjee / weather-dashboard Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 18.93 MB

A weather dashboard made using Angular and openweathermap API https://snehanjanchatterjee.github.io/Weather-Dashboard/

Home Page: https://snehanjanchatterjee.github.io/Weather-Dashboard/

JavaScript 2.78% TypeScript 66.26% HTML 16.53% CSS 14.44%
typescript angular9 openweathermap-api weather-dashboard-application weather-forecast weather-app jasmine-framework karma

weather-dashboard's Introduction

WeatherDashboard

This project was generated with Angular CLI version 9.0.0.

Deployed at(Work under progress): https://snehanjanchatterjee.github.io/Weather-Dashboard/

To upload project

https://docs.github.com/en/github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line

Deployment to Github Pages

Process: https://angular.io/guide/deployment

API

https://openweathermap.org/api

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build --output-path docs --base-href /Weather-Dashboard/ OR npm run docs-build in Command Prompt to build the project. The build artifacts will be stored in the docs/ directory. Use the --prod flag for a production build.

When the build is complete, make a copy of docs/index.html and name it docs/404.html

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Dependencies

  1. Angular CLI v9.0.0
  2. NodeJs 14.17.4
  3. Bootstrap v5.1.0
  4. Angular Material UI
  5. Font Awesome v4.7.0
  6. Charts: https://xieziyu.github.io/ngx-echarts/#/welcome
    • Installation:
      1. v4.9.0npm install echarts@4 -S
      2. v5.2.2npm install ngx-echarts@5 -S
      3. npm install resize-observer-polyfill -D
  7. Weather Icons: https://openweathermap.org/weather-conditions
  8. i18n-iso-countries
  9. Animated Icons:
    • Lord Icon
    • Installation: npm install lord-icon-element lottie-web
  10. Loading Spinner:
  11. Toast Messages:
  12. dotenv
    • npm i -D yargs dotenv
  13. Country Icons

weather-dashboard's People

Contributors

snehanjanchatterjee avatar

Stargazers

 avatar

Watchers

 avatar

weather-dashboard's Issues

Remove default location check

  • On the page's load don't try to access the user's location.
  • Add a new button on whose click user will be prompted to give access to their location

Make time auto update

On the LHS of the page there is a clock that shows current time but it doesn't auto update until the page is refreshed.

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.