https://github.com/coldrayburn/laravel-all4it.org
The backend for the all4it.org website, built with PHP and the Laravel framework.
https://github.com/coldrayburn/laravel-all4it.org
laravel php
Last synced: about 2 months ago
JSON representation
The backend for the all4it.org website, built with PHP and the Laravel framework.
- Host: GitHub
- URL: https://github.com/coldrayburn/laravel-all4it.org
- Owner: ColdRayBurn
- Created: 2025-01-08T09:30:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:25:31.000Z (over 1 year ago)
- Last Synced: 2025-01-08T11:19:44.419Z (over 1 year ago)
- Topics: laravel, php
- Language: PHP
- Homepage: https://all4it.org
- Size: 735 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel: All4it.org backend
Welcome to the backend API of website [All4it.org](https://all4it.org/), built with Laravel. This repository handles the core logic and serves as the bridge between the front-end React application and the database. Our Laravel-based API is designed to provide a seamless and efficient experience for users and administrators alike.
## Architecture
The project follows a clean and maintainable architecture:
- **Controllers**: Handle incoming HTTP requests. Each controller method is responsible for processing a specific action, such as fetching or updating data.
- **Services**: Contains the business logic of the application. Services are used in conjunction with controllers to handle more complex operations and to keep the controllers lightweight and clean.
- **Models**: Represent the database structure and interact with the database using Laravel's Eloquent ORM.
This separation of concerns makes the application scalable, maintainable, and easy to extend.
## Features
- **API Endpoints**: A comprehensive set of RESTful API endpoints that handle everything required for web forms, retrieving information from the database, and user authentication. The API seamlessly integrates with the frontend to manage form submissions, fetch data dynamically, and ensure secure access with built-in user authentication features, making it easy to manage both user interactions and data processing.
- **Admin Panel**: The project integrates with [Filament](https://filamentphp.com/), a beautiful and powerful admin panel for managing e-commerce data.
- **Authentication & Authorization**: Built-in user authentication using Laravel's Passport or Sanctum, ensuring secure API access.
- **Validation**: All input data is validated to ensure correctness and prevent security vulnerabilities.
## Frontend
The front-end of the application is developed in React and exists in a separate repository. The React application communicates with the Laravel API to fetch and display data dynamically. For more details on the front-end setup, visit the repository:
[Frontend Repository](https://github.com/ColdRayBurn/React-all4it.org)
## **Preview**
Below is a screenshot of the website:

## Installation
### Prerequisites
- PHP 8.0 or higher
- Laravel 10
- Composer
- MySQL or another database of your choice
- Node.js and npm (for running the frontend)
### Setup
1. Clone the repository:
`git clone https://github.com/ColdRayBurn/Laravel-all4it.org.git`
`cd Laravel-all4it.org`
2. Install dependencies: `composer install`
3. Set up your environment variables:
Copy `.env.example` to `.env` and update the database and API keys: `cp .env.example .env`
4. Generate the application key: `php artisan key:generate`
5. Run database migrations: `php artisan migrate`
6. Start the Laravel server: `php artisan serve`
Alternatively, you can configure any web server of your choice, such as Apache or Nginx, to serve the application. Ensure that the server is configured to point to the `public` directory, as this is where the application is accessed.
The API should now be up and running at `http://localhost:8000`.
## Admin Panel
The admin panel is powered by [Filament](https://filamentphp.com/), offering a modern and sleek interface to manage the system. It allows administrators to perform various actions such as:
- Managing pages
- Handling users
- Configuring system settings
Filament provides an intuitive and fast interface for managing your web platform without the need for complex development.
## **Contact Us**
Interested in building your custom e-commerce solution? Contact our team for a consultation and letโs create something exceptional together!
## ๐ผ [Mail us](mailto:info@all4it.org) | ๐ [Our web-site](https://all4it.org/)