Miaum project to create app to Android or iOS.
- Clone this project
- Run
composer install
(Installs all the dependencies for your project) - Create .env file
cp .env.example .env
(remember update the database password andDB_HOST=127.0.0.1
) - Run
php artisan migrate
(Creates all of the database tables) - Run
php artisan passport:install --force
(passport encryption keys) - Run your project
php artisan serve
(Runs the server) - Go to http://127.0.0.1:8000/graphiql (Add /admin to this URL in order to see private data)
composer dump-autoload
php artisan db:seed
(Generates fake data in the database for testing purposes)vendor/bin/phpunit
(to debug--debug
and for Windows users usevendor\bin\phpunit
)
phpcs --standard=phpcs.xml --extensions=php app
(Ensures that code follows the same coding conventions for all developers)
{
login(
email:"support.dev@devicepixel.com",
password:"123456"
) {
idUser
email
company {
name
email
}
}
}
- Now you can access the admin area