EvacFlorida.com
Hurricane evacuation planning service.
Built for Palm Beach Tech's 2019 Hackathon
My first ReactJS project, and some logic is missing or incomplete due to this being built within 24 hours for a contest. More information about what should be improved/changed can be found in docs/ImproveForProduction.md
To setup locally:
- Clone this repository
- install composer, run
composer install
- install node/npm/yarn, run
yarn install
- Follow the instructions in
docker/readme.me
- Start the webpack file watcher, run
yarn encore dev --watch
- Connect to the PHP container, run
php bin/console doctrine:migrations:migrate
- Start coding!
To deploy:
- Pull the latest from Github
- Clear Symfony cache, run
php bin/console cache:clear --env=prod
- Run migrations
php bin/console doctrine:migrations:migrate
- Update CSS/JS files, run
yarn encore production
- Update PHP packages, run
composer install
Known issues:
- Logout doesn't redirect correctly
- Saving profile details doesn't work
- The homepage chart and stats do not pull from the departures table
- The alerts you enable in your profile are not setup
- Page titles/meta/canonical not handled for React pagination
- @babel/plugin-proposal-class-properties can be removed from webpack.config.js and using yarn remove
- No unit tests
Known inconsistencies:
- Use of SASS instead of makeStyles for a couple minor things
- Use of Fragment wrapper in some places, and div or span in others
- Using aria attributes
- Data validation is spotty
- Code comments are spotty