https://github.com/filipe1309/ctv-news-api
https://github.com/filipe1309/ctv-news-api
lumen news php php8 redis rest-api
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/filipe1309/ctv-news-api
- Owner: filipe1309
- Created: 2021-04-01T02:06:05.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T23:40:31.000Z (about 5 years ago)
- Last Synced: 2025-03-06T15:17:19.981Z (over 1 year ago)
- Topics: lumen, news, php, php8, redis, rest-api
- Language: PHP
- Homepage:
- Size: 471 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
#
CTV News API :newspaper:
## 💬 About
This project was developed following **Level PHP** youtube playlist "[Lumen Microframework](https://www.youtube.com/playlist?list=PLTZ2g-iFpCUuNWZ7wtDoxbKpSAChDyS0o)".
## :computer: Technologies
- [Lumen](https://lumen.laravel.com/)
- [Docker](https://www.docker.com/)
## 🧰 Architecture
### DB ER Diagram

### Service-Repository Pattern
## :octocat: Setup
### Installation
```sh
# Clone this repo
git@github.com:filipe1309/ctv-news-api.git
# Enter project folder
cd ctv-news-api
```
#### Run the migrations to create db tables on db container
```sh
./bin/runenv
docker exec -t ctv-news-api_php_1 php artisan migrate
```
### 🏃 Runnning
```sh
./bin/runenv
```
The app will run at: http://localhost:5001
### Testing
```sh
docker exec -it ctv-news-api_php_1 php ./vendor/bin/phpunit
```
## About Me
---
Done with ♥ by Filipe Leuch Bonfim 🖖