This is a Rest API test project.
- PHP 7.3
- MySQL
http(s)://*/web/
Clone repository:
git clone https://github.com/khaway/restapi.git
Install composer dependencies:
composer install
Make Vagrantfile:
Mac / Linux: php vendor/bin/homestead make
Windows: vendor\\bin\\homestead make
Add assigment to hosts file:
192.168.10.10 homestead.test
Run Vagrant machine (before running machine you need to configure Homestead.yaml):
vagrant up
vagrant ssh
Install npm dependencies:
npm install (yarn install)
Build assets:
npm run production (yarn run production)
Clone repository:
git clone https://github.com/khaway/restapi.git
Configure Docker:
git clone https://github.com/Laradock/laradock.git
cd laradock
cp env-example .env
docker-compose up -d nginx mysql
Install composer dependencies:
composer install
Install npm dependencies:
npm install (yarn install)
Build assets:
npm run production (yarn run production)
Checkout url:
http://localhost
Database can be configured with .env:
cp .env.example .env