App for plant lovers developed with React JS and Symfony.
- View the plant catalogue
- View detailed plant care instructions
- Search by name
- Filter by care difficulty
- Filter by pet friendliness
- Order AZ & ZA
- Register and login with your account
- Add plants to your personal collection
- Set reminders to water your plants
-
Copy the folder to SymfonyMAMP and rename to "web". Then cd to "web"
-
Install dependencies using
composer install
-
Install front-end dependencies using
npm install
-
Do the migration:
- Open file .env in "SYMFONY-MAMP" folder (not the "web" folder!)
- Rename database to
DATABASE_NAME=PlantDB
. - Open Docker > symfony-mamp_www_1 > CLI
- cd to "web" folder
- Run
php bin/console make:migration
- Run
php bin/console doctrine:migrations:migrate
. If you get errors that ToDOdb doesn't exist restart docker container a few times.
-
Afterwards you can run webpack encore using following command
npm run watch
-
Start Docker container SYMFONY-MAMP
-
Visit URL: http://localhost:8007/ to see the app
-
Use Crtl + C to stop the watch