REST API created using Laravel 8, popular web application framework.
# Install dependencies
composer install
# Create environment
cp .env.example .env
# Run migrations and seeds
php artisan migrate --seed
# Generate application key
php artisan key:generate
# Start server
php artisan serve
GET api/v1/categories
GET api/v1/categories/{id}
POST api/v1/categories
PUT api/v1/categories/{id}
DELETE api/v1/categories/{id}
GET api/v1/posts
GET api/v1/posts/{id}
POST api/v1/posts
PUT api/v1/posts/{id}
DELETE api/v1/posts/{id}