https://github.com/edimamatthew/laravel-api-starter-kit
This is a quick starter kit for building APIs on Laravel 7. It contains basic auth setup using Laravel Passport.
https://github.com/edimamatthew/laravel-api-starter-kit
api api-rest api-starter authentication laravel laravel-framework laravel7 starter starter-kit starter-template
Last synced: 4 months ago
JSON representation
This is a quick starter kit for building APIs on Laravel 7. It contains basic auth setup using Laravel Passport.
- Host: GitHub
- URL: https://github.com/edimamatthew/laravel-api-starter-kit
- Owner: edimamatthew
- Created: 2021-12-10T04:08:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-10T04:36:55.000Z (over 4 years ago)
- Last Synced: 2025-10-28T17:53:15.776Z (8 months ago)
- Topics: api, api-rest, api-starter, authentication, laravel, laravel-framework, laravel7, starter, starter-kit, starter-template
- Language: PHP
- Homepage:
- Size: 521 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel 7 API Starter Kit
This is a quick starter kit for building APIs on Laravel 7. It contains basic auth setup using Laravel Passport.
## Packages
- Laravel 7
- Laravel Passport
## Endpoints
- https://documenter.getpostman.com/view/18732653/UVR4MpHk
# How to use
## Install
Clone the repo
```
$ git clone https://github.com/edimamatthew/laravel-api-starter-kit
```
Change directory to the cloned repo
```
$ cd laravel-api-starter-kit
```
Install required packages
```
$ composer install
```
Create environment variable
```
cp .env.example .env
```
* Edit the newly created .env file and add your database details
Run migration
```
php artisan migrate
```
Install Laravel Passport
```
php artisan passport:install
```
Start the application
```
php artisan serve
```
Use the provided endpoints in the link above to explore the application and start building.
Cheers!