Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukarinevg/blog-api
https://github.com/bukarinevg/blog-api
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bukarinevg/blog-api
- Owner: bukarinevg
- Created: 2024-01-16T01:58:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T12:32:25.000Z (10 months ago)
- Last Synced: 2024-04-03T14:47:09.436Z (10 months ago)
- Language: PHP
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Blog API
This is a Laravel-based API project for a blog with MVC sructure, with JWT authentication and CRUD operations for users, posts and comments.
It utilizes a MySQL database, Nginx, php-fpm and can be run in a Docker development environment using the `docker-compose up --build` command.## Prerequisites
For running this project, you need to have Docker and Docker Compose installed on your machine.
## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/bukarinevg/blog-api.git
```2. Run docker compose:
```bash
docker-compose up --build
```3. Install dependencies:
```bash
composer install
```4. Run database migrations and seed the database with test data:
```bash
php artisan migrate
php artisan db:seed
```5. Access the API endpoints at `http://localhost:8000/api/v1`.