All Projects → f1amy → laravel-realworld-example-app

f1amy / laravel-realworld-example-app

Licence: MIT license
Exemplary RealWorld backend API built with Laravel PHP framework.

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects

Projects that are alternatives of or similar to laravel-realworld-example-app

Laravel Realworld Example App
Exemplary real world backend API built with Laravel
Stars: ✭ 954 (+2705.88%)
Mutual labels:  crud, backend, demo-app, realworld
Cakephp Realworld Example App
Stars: ✭ 103 (+202.94%)
Mutual labels:  backend, demo-app, realworld
lumen-realworld-example-app
Exemplary real world backend API built with Lumen + MongoDB
Stars: ✭ 50 (+47.06%)
Mutual labels:  crud, demo-app, realworld
Elixir Phoenix Realworld Example App
Exemplary real world application built with Elixir + Phoenix
Stars: ✭ 764 (+2147.06%)
Mutual labels:  backend, realworld
multi-projects-architecture-with-Ktor
A Ktor real world example built on multi-projects architecture
Stars: ✭ 29 (-14.71%)
Mutual labels:  backend, realworld
Express Bookshelf Realworld Example App
🐳 An Express and Bookshelf based backend implementation of the RealWorld API Spec.
Stars: ✭ 45 (+32.35%)
Mutual labels:  backend, realworld
Lastbackend
System for containerized apps management. From build to scaling.
Stars: ✭ 1,536 (+4417.65%)
Mutual labels:  backend, ci
Jmeter Elasticsearch Backend Listener
JMeter plugin that lets you send sample results to an ElasticSearch engine to enable live monitoring of load tests.
Stars: ✭ 72 (+111.76%)
Mutual labels:  backend, ci
Golang Gin Realworld Example App
Exemplary real world application built with Golang + Gin
Stars: ✭ 1,780 (+5135.29%)
Mutual labels:  crud, realworld
Sleepingowladmin
🦉 Administrative interface builder for Laravel (Laravel admin)
Stars: ✭ 671 (+1873.53%)
Mutual labels:  crud, backend
servant-beam-realworld-example-app
Exemplary fullstack Medium.com clone powered by Servant and Beam
Stars: ✭ 33 (-2.94%)
Mutual labels:  crud, realworld
varbox
THE Laravel Admin Panel package built by developers, for developers
Stars: ✭ 61 (+79.41%)
Mutual labels:  crud, backend
rust-realworld-example-app
Example Rust codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
Stars: ✭ 19 (-44.12%)
Mutual labels:  crud, realworld
buildservice
Project build service using node, CI script
Stars: ✭ 21 (-38.24%)
Mutual labels:  ci
todo-list
A practical web application built with Node.js, Express, and MySQL for you to readily record, view, and manage your tasks with an account: Create, view, edit, delete, filter, and sort expenses are as easy as pie 🥧
Stars: ✭ 18 (-47.06%)
Mutual labels:  crud
lucene
Apache Lucene open-source search software
Stars: ✭ 1,009 (+2867.65%)
Mutual labels:  backend
food-ordering-demo
Demo application focusing on the Food Ordering domain - Used in our video series
Stars: ✭ 28 (-17.65%)
Mutual labels:  demo-app
umbrella
Umbrella framework
Stars: ✭ 98 (+188.24%)
Mutual labels:  backend
hrms-project-backend
N-Layer Architecture human resource management system project with Java.
Stars: ✭ 74 (+117.65%)
Mutual labels:  backend
nine-cards-backend
An Open Source Android Launcher built with Scala on Android
Stars: ✭ 61 (+79.41%)
Mutual labels:  backend

Laravel RealWorld Example App

RealWorld: Backend Tests: status Coverage: percent Static Analysis: status License: MIT

Example of a PHP-based Laravel application containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.

This codebase was created to demonstrate a backend application built with Laravel framework including RESTful services, CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Laravel framework community style guides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

The API is built with Laravel, making the most of the framework's features out-of-the-box.

The application is using a custom JWT auth implementation: app/Jwt.

Getting started

The preferred way of setting up the project is using Laravel Sail, for that you'll need Docker under Linux / macOS (or Windows WSL2).

Installation

Clone the repository and change directory:

git clone https://github.com/f1amy/laravel-realworld-example-app.git
cd laravel-realworld-example-app

Install dependencies (if you have composer locally):

composer create-project

Alternatively you can do the same with Docker:

docker run --rm -it \
    --volume $PWD:/app \
    --user $(id -u):$(id -g) \
    composer create-project

Start the containers with PHP application and PostgreSQL database:

./vendor/bin/sail up -d

(Optional) Configure a Bash alias for sail command:

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'

Migrate the database with seeding:

sail artisan migrate --seed

Usage

The API is available at http://localhost:3000/api (You can change the APP_PORT in .env file).

Run tests

sail artisan test

Run PHPStan static analysis

sail php ./vendor/bin/phpstan

OpenAPI specification (not ready yet)

Swagger UI will be live at http://localhost:3000/api/documentation.

For now, please visit the specification here.

Contributions

Feedback, suggestions, and improvements are welcome, feel free to contribute.

License

The MIT License (MIT). Please see LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].