Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexeymezenin/laravel-realworld-example-app
Laravel implementation of the RealWorld app
https://github.com/alexeymezenin/laravel-realworld-example-app
example laravel
Last synced: 3 months ago
JSON representation
Laravel implementation of the RealWorld app
- Host: GitHub
- URL: https://github.com/alexeymezenin/laravel-realworld-example-app
- Owner: alexeymezenin
- License: mit
- Created: 2021-10-31T08:26:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T12:37:07.000Z (7 months ago)
- Last Synced: 2024-08-01T19:45:33.263Z (6 months ago)
- Topics: example, laravel
- Language: PHP
- Homepage:
- Size: 62.5 KB
- Stars: 341
- Watchers: 10
- Forks: 95
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Laravel implementation of RealWorld app
This Laravel app is part of the [RealWorld](https://github.com/gothinkster/realworld) project and implementation of the [Laravel best practices](https://github.com/alexeymezenin/laravel-best-practices).
You might also check [Ruby on Rails version](https://github.com/alexeymezenin/ruby-on-rails-realworld-example-app) of this app.
See how the exact same Medium.com clone (called [Conduit](https://demo.realworld.io)) is built using different [frontends](https://codebase.show/projects/realworld?category=frontend) and [backends](https://codebase.show/projects/realworld?category=backend). Yes, you can mix and match them, because **they all adhere to the same [API spec](https://gothinkster.github.io/realworld/docs/specs/backend-specs/introduction)**
### How to run the API
Make sure you have PHP and Composer installed globally on your computer.
Clone the repo and enter the project folder
```
git clone https://github.com/alexeymezenin/laravel-realworld-example-app.git
cd laravel-realworld-example-app
```Install the app
```
composer install
cp .env.example .env
```Run the web server
```
php artisan serve
```That's it. Now you can use the api, i.e.
```
http://127.0.0.1:8000/api/articles
```