Skip to content

Just a demo application showcasing laravel lighthouse for a simple graphql chat app api with subscriptions.

Notifications You must be signed in to change notification settings

SimonErich/laravel-graphql-chat-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Graphql Demo Chat Api 🚀

This is just a simple API for a demo chat using Laravel with a Graphql API and subscriptions. This boilerplate is based on Thomas Venturinis awesome Laravel Blueprint.

API Structure data

The API is structured in a simple manner. You can find a small documentation of all the available queries and mutations in the Entities section

Getting Started

Clone Repo:

To get started, just clone this repo:

git clone [email protected]:SimonErich/laravel-graphql-chat-api.git

Rename env files:

Copy and rename the .env files for configuration

cp .env.example .env
cp .env.docker.example .env.docker

Start up containers:

And then run the make init command to spin up the docker containers. (you need docker and docker-compose installed and working on your device)

make init

Start up websocket server:

Either ssh into your server or into the worker docker container and call the following artisan command:

php artisan websockets:serve

About

Just a demo application showcasing laravel lighthouse for a simple graphql chat app api with subscriptions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published