Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itorgov/pizza-shop-backend
Just an example of my work.
https://github.com/itorgov/pizza-shop-backend
laravel mysql php tdd
Last synced: about 2 months ago
JSON representation
Just an example of my work.
- Host: GitHub
- URL: https://github.com/itorgov/pizza-shop-backend
- Owner: itorgov
- License: mit
- Created: 2020-04-21T10:35:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-27T03:23:52.000Z (almost 3 years ago)
- Last Synced: 2024-11-06T02:12:33.594Z (3 months ago)
- Topics: laravel, mysql, php, tdd
- Language: PHP
- Homepage: https://pizza-shop.itorgov.com
- Size: 1.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## About
This is the backend part of my [Pizza Shop](https://github.com/itorgov/pizza-shop) project written with Laravel 7 framework.
## Installation
This is a typical Laravel application.
So, you can just follow to official [instruction](https://laravel.com/docs/7.x/installation).### Configure MySQL
You need to create a database specific for your project, and a user to access it.
You may create a separate user, granting only specific privileges.### Settings
1. Copy the `.env.example` file to a new file named `.env`.
2. Run `php artisan key:generate`.
3. Edit your `.env` file.
4. Run `composer install`.
5. Run `php artisan migrate`.
6. Optional. Run `php artisan db:seed` if you want scaffold database with test data.## Tests
To run tests use `php artisan test` command.