This project is a simple aggregator of brief descriptions about games. You can register and edit games (and their videos on YouTube), view and delete them too.
This project was developed in SatellaSoft's Course - PHP - CRIANDO E CONSUMINDO API RESTFUL.
$router->get('/', 'GameController@index');
$router->get('/{id}', 'GameController@getById');
$router->post('/', 'GameController@create');
$router->put('/{id}', 'GameController@update');
$router->delete('/{id}', 'GameController@delete');
- Clone this repository
https://github.com/pferreirafabricio/gamenews.git
; - Enter in the project's folder:
cd gamenews
- Enter in the API's folder:
cd backend
- Install dependencies:
composer install
- Finally run the apache server and access
http://localhost/gamenews/backend/game
😃
OBS 1: If your url is different, change the CONF_BASE_URL constant in
source/Boot/Config.php
OBS 2: The database used is indocs/
folder
- Clone this repository
https://github.com/pferreirafabricio/gamenews.git
; - Enter in the project's folder:
cd gamenews
- Enter in the FrontEnd's folder:
cd frontend
- Install dependencies:
npm install
- Run the server:
npm run serve
- Access in your browser:
http://localhost:8080
😃
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
- Commit your changes:
git commit -m 'feat: My new feature'
- Push your branch:
git push origin my-feature
This project is under the MIT license. Take a look at the LICENSE file for more details.