Physiomobile is a RESTful API built with Laravel 11, designed to handle transactional data using a MySQL database. It includes integrated API documentation powered by Swagger (via l5-swagger).
- Framework: Laravel 11 (PHP 8.2)
- Database: MySQL
- API Documentation: Swagger (l5-swagger)
-
Clone the repository:
git clone https://github.com/bailyboy021/Physiomobile.git
-
Navigate to the project directory:
cd Physiomobile -
Install Composer dependencies:
composer install
-
Copy the .env.example file to .env and configure your environment settings (database, access key, Swagger):
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=physiomobile DB_USERNAME=root DB_PASSWORD= ACCESS_KEY=your_access_key L5_SWAGGER_GENERATE_ALWAYS=true L5_SWAGGER_API_VERSION=1.0.0 L5_SWAGGER_TITLE="API Documentation" L5_SWAGGER_DESCRIPTION="Documentation for Physiomobile API" L5_SWAGGER_SCHEMES=https L5_SWAGGER_BASE_PATH=/api
-
Run database migrations:
php artisan migrate --seed
-
Start the development server:
php artisan serve
To view the API documentation:
-
Make sure the application is running locally.
-
Open your browser and go to:
http://localhost:8000/api/documentation