A very simple Symfony 7 daylight-app for demonstrating REACT + Symfony
This project uses Symfony 7 for showing daylight time changes in different parts of the country. A form is created where user can input a name of any city and displays the change in daylight length in minutes in that location.
- Simply clone the repository
- Install dependencies by running
composer install
- Install front-end dependencies by running
npm install
- Also install dependencies in frontend folder cd /frontend and
npm install
- This repo requires you have Symfony-MAMP installed and working in your local computer
- In order to see graph, you must always run frontend REACT application from root folder
npm run dev
- This repo uses
pentatrion/vite-bundle
- This repo also uses two free API from
geocode.maps.co
andsunrise-sunset.org
Use solely for reference material only