Skip to content

bnvd26/ba-api

Repository files navigation

Laravel trainings

<ORG_NAME>

Add the following Cron entry to your server :
* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1

This app is running with Homestead & Docker (both are not mandatory) under Nginx

With Docker 🐳 :

You need to install docker on your machine first

Build and run your containers in background with -d :
docker-compose up

You can build your image
docker-compose build

Run specfic command into container ;
docker-compose exec

Migrate your db ;
docker container exec app php artisan migrate

Seed your db ;
docker container exec app php db:seed


Without Docker

Install dependancies for PHP
composer install

Migrate your db ;
php artisan migrate

Seed your db ;
php artisan db:seed

Install modules javascript
npm install

Then you will need to compile that, so
npm run dev

Init your NodeJS server
laravel-echo-server init

Node js websocket server
laravel-echo-server start

About

In this project I test everything and anything related to API with Laravel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors