Skip to content

Sheitak/weather-graphics-monitoring

Repository files navigation

Weather Graphics Monitoring

This starter kit is here to easily start a repository.

It's symfony website-skeleton project with some additional tools to validate code standards.

  • GrumPHP, as pre-commit hook, will run 2 tools when git commit is run :

    • PHP_CodeSniffer to check PSR2
    • PHPStan will check PHP recommendation

    If tests fail, the commit is canceled and a warning message is displayed to developper.

  • Travis CI, as Continuous Integration will be run when a branch with active pull request is updated on github. It will run :

    • Tasks to check if vendor, .idea, env.local are not versionned,
    • PHP_CodeSniffer to check PSR2,
    • PHPStan will check PHP recommendation.

Getting Started for Projects

Prerequisites

  1. Check composer is installed
  2. Check yarn & node are installed

Install

  1. Clone this project
  2. Run composer install
  3. Run yarn install

Working

  1. Run php bin/console server:run to launch your local php web server
  2. Run yarn run dev --watch to launch your local server for assets
  3. Get your ENV variable in OpenWeather

Testing

  1. Run ./bin/phpcs to launch PHP code sniffer
  2. Run ./bin/phpstan analyse src --level max to launch PHPStan
  3. Run ./bin/phpmd src text phpmd.xml to launch PHP Mess Detector
  4. Run ./bin/eslint assets/js to launch ESLint JS linter
  5. Run ./bin/sass-lint -c sass-linter.yml to launch Sass-lint SASS/CSS linter

Windows Users

If you develop on Windows, you should edit you git configuration to change your end of line rules with this command :

git config --global core.autocrlf true

OpenWeather

https://openweathermap.org/

Chart.js

https://www.chartjs.org/

Apex.js

https://apexcharts.com/

FusionChart.js

Create the first chart with fusion : https://www.fusioncharts.com/dev/fusiontime/getting-started/create-your-first-chart-in-fusiontime

Find the complete list of chart types with their respective alias here : https://www.fusioncharts.com/dev/chart-guide/list-of-charts

Built With

About

Representation of different types of JavaScript charts to visualize weather data dynamically. In particular, it is possible to compare performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published