/scampea-backend

PHP/Vue/HTML backend of a web-development project

Primary LanguagePHP

Laravel 5.5 PHP Framework

Intallation

Prerequisite

Actual installation

# Clone the project

# Go to the cloned folder
cd Scampea-Backend

# Copy ".env.example" and name the copy ".env"
cp .env.example .env

# Update the database info in the ".env" file

# Install Laravel and its dependencies
composer install

# Update the project key
php artisan key:generate

# Create the database tables
php artisan migrate

# You can now start the development server
php artisan serve

Start the development server

cd Scampea-Backend
php artisan serve

Seed database

# Create dummy data in the database
php artisan migrate:refresh --seed

# Create login secrets
php artisan passport:install

Run tests

./vendor/bin/phpunit

Official Documentation

Documentation for the framework can be found on the Laravel website.