The project consist in create a PHP app that helps you and your family members keep track of the days of the week when recycling takes place.
Instead of pinning the days on a piece of paper or calendar, your app will make your life easier by encapsulating everything in one place.
The requirements for the project was:
-
You can decide to equip your app with a graphical interface, or just make APIs, this is completely up to you.
-
Multiple time periods with different retreats can be specified for each day. E.g. Tuesday 10:00-12:00 Wet - Tuesday 19:00-21:00 Plastic
-
The application will then need to provide an endpoint or section to be able to display a weekly and a daily summary of pickup.
- Clone the repo
git clone https://github.com/luca-bertero/PHP-MySQL-
Setup a DB (eg. using XAMPP or w/e).
-
Import the project table from the migration file
db_raccolta_differenziata.sql. -
Make sure you have Composer installed
-
Install all the missing dependencies running
npm install- Run
composer install- And then
php artisan serve- You should now be promped with a URL looking like this, you can run the project by visiting it
localhost:8000By visiting http://127.0.0.1:8000/schedule/today you can find out what waste will be collected today.
By visiting http://127.0.0.1:8000/schedule/ you can find out all the reminder divided by type.
By visiting http://127.0.0.1:8000/schedule/create you can add a reminder for a waste sorting.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.