Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanikkumar/laravelapi-docker
Laravel 11.x API, Basic authentication using sanctum, relationships and other. This project is a docker setup.
https://github.com/yanikkumar/laravelapi-docker
api apidevelopment docker docker-compose laravel laravel-framework laravelapi laravelapidevelopment php php-api
Last synced: 26 days ago
JSON representation
Laravel 11.x API, Basic authentication using sanctum, relationships and other. This project is a docker setup.
- Host: GitHub
- URL: https://github.com/yanikkumar/laravelapi-docker
- Owner: yanikkumar
- Created: 2024-09-02T06:33:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T12:01:02.000Z (3 months ago)
- Last Synced: 2024-12-16T23:22:59.751Z (26 days ago)
- Topics: api, apidevelopment, docker, docker-compose, laravel, laravel-framework, laravelapi, laravelapidevelopment, php, php-api
- Language: PHP
- Homepage:
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel API with DockerSetup
A go to working API for Laravel Enthusists. This API features the go to set-up to start your API development. Build with latest version of Laravel (11.x) this project was develop to bootstrap any API project from scratch.This project has role-based authentication system. With easy to setup structure. If you're planning to setup a API for your project in laravel. This is the easy way to go.
Also as it is docker setup so you can easily deploy on your server with the pre-build docker file (Configure based on your needs)
----
## Run the Project
Docker must be installed in the system.- Run the docker setup.
- Open the terminal inside the project and run the command
`docker-compose up`
This will run the containers with php server and frontend and db all together.
- To make any comman inside the project open the shell inside docker first by executing
`docker-compose exec backend sh`
and artisan commands can be run in the shell.----