Saham is a platform built using Laravel, Filament, Tailwind CSS, and JavaScript. This platform aims to facilitate the donation and distribution of surplus food from restaurants and stores to those in need. It encompasses various features including home, donations, articles, about us, contact us pages, and three distinct panels for donors, charities, and an admin interface.
- Framework: Laravel
- Admin Panel: FilamentPHP
- Frontend Styling: Tailwind CSS
- Frontend Interactivity: JavaScript
The project is structured with the following main sections:
- Home: Landing page highlighting the mission and functionality of Saham Project.
- Donations: Section enabling restaurants and stores to input surplus food donations.
- Articles: Articles and stories about positive impacts and success stories.
- About Us: Information about the project, its goals, and the team behind it.
- Contact Us: Contact information and a form for inquiries or feedback.
Additionally, the project includes three separate panels:
- Donors Panel: Allows restaurants and stores to register donations.
- Charities Panel: Enables charitable organizations to browse and request available donations.
- Admin Panel: Provides administrative capabilities to manage users, donations, and oversee the platform's operation.
To run this project locally, ensure you have the following things installed: composer , nodejs/npm, git
-
Clone the repository: https://github.com/Mohamed-Galdi/sahem_project.git
-
Navigate to the project directory:
cd sahem_project
-
Install the dependencies using Composer:
composer install --ignore-platform-reqs
-
Create a copy of the
.env.example
file and rename it to.env
. Configure the database settings in the.env
file (database name). -
Generate an application key:
php artisan key:generate
-
Create the symbolic link:
php artisan storage:link
-
Run the database migrations and seeders:
php artisan migrate:fresh --seed
-
Run
npm install
to install frontend dependencies. -
Run
npm run dev
to compile assets. -
Start the development server with
php artisan serve
. -
Visit
http://127.0.0.1:8000/
in your browser to access the application.
- Admin: [email protected] + 00000000
- donor: [email protected] + 000000
- charity: [email protected] + 000000
We welcome contributions to enhance the functionality, usability, or features of Saham Project. Feel free to fork this repository, make your changes, and submit a pull request!