https://github.com/engsahaly/api-course
Project files for Laravel APIs course on Udemy
https://github.com/engsahaly/api-course
api apis laravel postman
Last synced: 11 months ago
JSON representation
Project files for Laravel APIs course on Udemy
- Host: GitHub
- URL: https://github.com/engsahaly/api-course
- Owner: engsahaly
- Created: 2023-04-01T10:51:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-21T20:38:41.000Z (over 2 years ago)
- Last Synced: 2023-11-21T21:36:42.442Z (over 2 years ago)
- Topics: api, apis, laravel, postman
- Language: PHP
- Homepage: https://www.udemy.com/course/laravel-restful-apis-for-beginners-become-a-master-arabic/?referralCode=E3B58D43D6A22007A562
- Size: 156 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## API COURSE (Project Files)

**Created By :** Mahmoud Anwar
**Email :** Engsahaly@gmail.com
This is the main readme file for the Project files used in the API Course on Udemy
## Installation
To get started, clone this repository.
```
git clone https://github.com/engsahaly/API-COURSE.git
```
Next, copy your `.env.example` file as `.env` and configure your Database connection.
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR-DATABASE-NAME
DB_USERNAME=YOUR-DATABASE-USERNAME
DB_PASSWORD=YOUR-DATABASE-PASSWROD
```
## Run Packages and helpers
You have to all used packages and load helpers as below.
```
composer install
npm install
npm run dev
npm run build
```
## Generate new application key
You have to generate new application key as below.
```
php artisan key:generate
```
## Run Migrations and Seeders
You have to run all the migration files included with the project and also run seeders as below.
```
php artisan migrate
php artisan db:seed
```