Skip to content

luca-bertero/PHP-MySQL

Repository files navigation

App for waste sorting

Project created for PHP Super Guide for Start2Impact

Table of Contents
  1. About the project
  2. Getting Started
  3. Usage
  4. Contact
  5. Acknowledgements

About the project

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.

Getting Started

  1. Clone the repo
git clone https://github.com/luca-bertero/PHP-MySQL
  1. Setup a DB (eg. using XAMPP or w/e).

  2. Import the project table from the migration file db_raccolta_differenziata.sql.

  3. Make sure you have Composer installed

  4. Install all the missing dependencies running

npm install
  1. Run
composer install
  1. And then
php artisan serve
  1. You should now be promped with a URL looking like this, you can run the project by visiting it
localhost:8000

Usage

By 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.

About Laravel

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:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors