Blog REST API is a Laravel-based application that provides API endpoints for Blog management. This project includes Swagger documentation to make API exploration and testing easier.
The API documentation is available at: [https://rest-blog.netlify.app/)
Follow these steps to set up the project locally:
- Clone the repository
git clone [repository-url]- Install PHP dependencies
composer install- Create environment file
cp .env.example .env- Generate application key
php artisan key:generate- Configure your database in the
.envfile
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password
- Run database migrations
php artisan migrate- Start the development server
php artisan serveThe application will be available at http://localhost:8000.
This project uses Swagger for API documentation. To access the API documentation:
- Run the development server
php artisan serve- Visit
http://localhost:8000/api/documentationin your browser
Alternatively, you can view the deployed documentation at [https://rest-blog.netlify.app/)
- RESTful API endpoints for blog management
- Swagger documentation for API exploration
- Laravel-based architecture for robust application development
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
This project is open-sourced software licensed under the MIT license.