/Laravel-API-Client

Laravel 8 application web responsive that contains interface web, user registers and the application connected to a Laravel API https://laravel-api-server.up.railway.app/api/juegos Project Laravel Api Server: https://github.com/JAVI-CC/Laravel-API-Server

Primary LanguagePHP

Build Status Total Downloads Latest Stable Version License

Laravel 8 and PHP 8 application web responsive that contains interface web, user registers and the application connected to a Laravel API https://laravel-api-server.up.railway.app

Project Laravel Api Server: https://github.com/JAVI-CC/Laravel-API-Server

Setup

$ composer install && php artisan key:generate

.env

API_SERVER= https://laravel-api-server.up.railway.app

Demo

https://laravel-api-server.up.railway.app
User: admin@email.com
Password: 12345678

Show get all registries API SERVER:

Create or update registrer sending it to the API SERVER:

Application web responsive

Deploy to Docker 🐳

Containers:

  • nginx:alpine - :8000->80/tcp
  • php:8.0.6-fpm - :9000

Containers structure:

├── laravel-api-client-app
├── laravel-api-client-web

Setup:

$ git clone https://github.com/JAVI-CC/Laravel-API-Client.git
$ cd Laravel-API-Client
$ cp .env.example .env
$ docker-compose up -d
$ docker-compose exec --user=root app chmod -R 777 /var/www/
$ docker-compose exec app composer install
$ docker-compose exec app php artisan key:generate

Once you have the containers deployed, you can access the API at http://localhost:8000