Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ankurk91/laravel-blogger-api-example
Laravel demo blog REST api :mage_man:
https://github.com/ankurk91/laravel-blogger-api-example
laravel sanctum
Last synced: 2 months ago
JSON representation
Laravel demo blog REST api :mage_man:
- Host: GitHub
- URL: https://github.com/ankurk91/laravel-blogger-api-example
- Owner: ankurk91
- Created: 2021-03-11T12:06:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T12:20:46.000Z (8 months ago)
- Last Synced: 2024-05-03T04:00:04.337Z (8 months ago)
- Topics: laravel, sanctum
- Language: PHP
- Homepage:
- Size: 300 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Blogger REST API
[![tests](https://github.com/ankurk91/laravel-blogger-example/actions/workflows/tests.yml/badge.svg)](https://github.com/ankurk91/laravel-blogger-example/actions/workflows/tests.yml)
### Prerequisites
* php v8.2, [see](https://laravel.com/docs/installation) Laravel specific requirements
* Apache v2.4.33 with `mod_rewrite`
* MySQL v8.0.33
* [Composer](https://getcomposer.org) v2.5### Quick setup
* Clone this repo, checkout to most active branch
* Write permissions on ```storage``` and ```bootstrap/cache``` folders
* Create a config file (copy from ```.env.example```), and update environment variables```
cp .env.example .env
```* Install dependencies
```
composer install
php artisan key:generate
```* Migrate and Seed database
```
php artisan migrate
php artisan db:seed
```* Create the symbolic link for local file uploads
```
php artisan storage:link
```* Point your web server to **public** folder of this project
* Additionally, you can run this command on production server```
php artisan optimize
```