Skip to content

khaway/restapi

Repository files navigation

About project

This is a Rest API test project.

Requirements

  • PHP 7.3
  • MySQL

Entry point with GUI

http(s)://*/web/

Setting up with Vagrant

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)

Setting up with Docker

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 configure

Database can be configured with .env:

cp .env.example .env

About

Rest API test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published