The REST API for Davor Minchorov's personal website and blog.
For the front end application, please see: davorminchorov/davorminchorov.com
To set up the project locally follow the instructions.
- Install Docker and Docker Compose for the operating system of your choice.
- Get into your project directory (
cd api.davorminchorov.com) - Set up the docker containers using the following command:
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php80-composer:latest \
composer install --ignore-platform-reqs- Run the containers in daemon mode using
vendor/bin/sail up -d - Access the PHP container using
vendor/bin/sail shell - Run
composer installto install of the composer dependencies. - Rename the docker example
.envfile usingcp .env.example .env - Run
php artisan key:generateto generate an application key (APP_KEY) - Run
php artisan migrateto run all migrations - Add
127.0.0.1 api.davorminchorov.test:8000to your/etc/hostsfile - Access the site using
api.davorminchorov.test:8000in your browser