Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sheitak/weather-graphics-monitoring

Representation of different types of JavaScript charts to visualize weather data dynamically. In particular, it is possible to compare performance.
https://github.com/sheitak/weather-graphics-monitoring

apexcharts chart chartjs graphics javascript php symfony

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

## 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
3. Run `./bin/eslint assets/js` to launch ESLint JS linter
3. 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

* [Symfony](https://github.com/symfony/symfony)
* [GrumPHP](https://github.com/phpro/grumphp)
* [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
* [PHPStan](https://github.com/phpstan/phpstan)
* [PHPMD](http://phpmd.org)
* [ESLint](https://eslint.org/)
* [Sass-Lint](https://github.com/sasstools/sass-lint)
* [Travis CI](https://github.com/marketplace/travis-ci)