Showing
1 changed file
with
24 additions
and
1 deletions
1 | -This Laravel app is part of the [RealWorld](https://github.com/gothinkster/realworld) project. | 1 | +###Laravel implementation of RealWorld app |
2 | + | ||
3 | +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). | ||
2 | 4 | ||
3 | 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)** | 5 | 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)** |
6 | + | ||
7 | +### How to run the API | ||
8 | + | ||
9 | +Clone the repo, enter the project folder and run these commands to install the app | ||
10 | + | ||
11 | +``` | ||
12 | + composer install | ||
13 | + cp .env.example .env | ||
14 | +``` | ||
15 | + | ||
16 | +Run the web server | ||
17 | + | ||
18 | +``` | ||
19 | +php artisan serve | ||
20 | +``` | ||
21 | + | ||
22 | +That's it. Now you can use the api, i.e. | ||
23 | + | ||
24 | +``` | ||
25 | +http://127.0.0.1:8000/api/articles | ||
26 | +``` | ... | ... |
-
Please register or login to post a comment