Skip to content

Project Standand is a Laravel-based admin API that provides demo data and uses React as the front-end framework.

Notifications You must be signed in to change notification settings

phamthanhnghia/template-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up a Docker Environment for Laravel

To set up a Docker environment for Laravel, follow these steps:

  1. Clone the Laradock repository by running the following command:
git clone https://github.com/Laradock/laradock.git environment-laradock
  1. Install Laravel 10 by running the following command:
composer install
  1. Add the necessary templates and tables by running the following commands:
php artisan migrate
php artisan db:seed
  1. Create an API for CRUD operations on the User model.

  2. Create a tool to manage the User table.

To access the Docker workspace, run the following command:

docker exec -it --user laradock environment-laradock-workspace-1 bash

That's it! You now have a Docker environment set up for your Laravel project.

php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
http://localhost:8081/?server=mariadb&username=root&db=laravel&password=root

https://github.com/remix-run/react-router/blob/dev/examples/auth-router-provider/src/App.tsx

About

Project Standand is a Laravel-based admin API that provides demo data and uses React as the front-end framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published