Backend API of News Magazine project
Install all dependecies below:
Copy .env.docker to .env and setup the configurations.
Run the following command
make init-start
Project will be run in port 8080 (http://localhost:8080)
Run the following command
make start
Project will be run in port 8080 (http://localhost:8080)
| Command | Description |
|---|---|
| make init-start | Initialize setup and start services |
| make start | Start services |
| make stop | Stop services |
| make restart | Restart services |
| make build | Build image and start services |
| make rebuild | Rebuild image and start services |
| make down | Remove services |
| make fresh-db | Fresh databases |
| make fetch-news | Fetch news from api manually |
Install all dependecies below:
Run the following command
composer install
Copy .env.example to .env and setup the configurations.
Run the following command
php artisan key:generate
Run the following command
php artisan migrate --seed
php artisan passport:install
Run the following command
php artisan serve
Project will be run in port 8000 (http://localhost:8000)
Laravel, PHP, Python, MySQL, Docker, Nginx
- Juniardy Setiowidayoga (@juniardys)