https://github.com/selviler/ecommerce-assessment
rest api example with laravel
https://github.com/selviler/ecommerce-assessment
docker docker-compose docker-image laravel laravel-application laravel-environment laravel-framework
Last synced: 3 months ago
JSON representation
rest api example with laravel
- Host: GitHub
- URL: https://github.com/selviler/ecommerce-assessment
- Owner: selviler
- Created: 2021-06-12T09:01:11.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-29T19:23:15.000Z (over 1 year ago)
- Last Synced: 2025-09-12T00:38:43.722Z (10 months ago)
- Topics: docker, docker-compose, docker-image, laravel, laravel-application, laravel-environment, laravel-framework
- Language: PHP
- Homepage:
- Size: 30.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Contents
```text
PHP
Composer
Docker
MySQl
Jwt
Nginx
Redis
Rate limiting
```
### Installation
```shell
docker compose up -d --build
docker compose exec app bash
chmod -R 777 /var/www/html/storage/ /var/www/html/bootstrap/
cp .env.example .env
composer install
docker compose exec app php artisan jwt:secret
docker compose exec app php artisan migrate:fresh --seed
```
### env config
- mysql
```text
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=laravel
```
### Usage
```text
Insomnia_2025-01-29.json
```