All Projects → kennethtomagan → laravel-6-api-boilerplate

kennethtomagan / laravel-6-api-boilerplate

Licence: other
A Laravel 6 API Boilerplate to create a ready-to-use REST API. User Authentication using JWT

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to laravel-6-api-boilerplate

Clean-Laravel-Api
⭐️ Build APIs You Won't Hate In Laravel.
Stars: ✭ 85 (+66.67%)
Mutual labels:  laravel-api-boilerplate
docker-laravel-api-dev
🐳 The containerized Laravel API development environment
Stars: ✭ 31 (-39.22%)
Mutual labels:  laravel-api-boilerplate
december-2018-meetup
🤖 Build an API with Laravel 5.7
Stars: ✭ 27 (-47.06%)
Mutual labels:  laravel-api-boilerplate
Lang
List of 78 languages for Laravel Framework 4, 5, 6, 7 and 8, Laravel Jetstream , Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova and Laravel Spark.
Stars: ✭ 6,285 (+12223.53%)
Mutual labels:  laravel6
laravel-cms
Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Framework and web platform whose sole purpose is to make your development workflow simple again. Project develop by Juzaweb
Stars: ✭ 15 (-70.59%)
Mutual labels:  laravel6
lara-pdf-merger
Laravel PDF merger, that works on Laravel 7.0 and PHP 7.4
Stars: ✭ 27 (-47.06%)
Mutual labels:  laravel6
balance
A laravel finance application for everyday use
Stars: ✭ 23 (-54.9%)
Mutual labels:  laravel6
laravel-survey
Laravel 6 survey app.
Stars: ✭ 39 (-23.53%)
Mutual labels:  laravel6
laravel6-on-google-cloud-run
Laravel 6 on Google cloud run for a demo
Stars: ✭ 25 (-50.98%)
Mutual labels:  laravel6

laravel-api-boilerplate

Packagist Packagist Packagist

This is a boilerplate for writing RESTful API projects using Laravel, a "Starter Kit" you can use to build your API in seconds.

Packages:
Require:
  • PHP: ^7.2

Features

Installation

composer create-project kennethtomagan/laravel-6-api-boilerplate myNewProject;

Install Dependencies

$ composer install

Configure the Environment

Create .env file:

$ cat .env.example > .env

Run php artisan key:generate and php artisan jwt:secret

Migrate and Seed the Database

$ php artisan migrate:fresh --seed

Route API Endpoint

Verb URI Controller Notes
POST http://localhost:8000/api/auth/login AuthController to do the login and get your access token
POST http://localhost:8000/api/auth/register RegisterController to create a new user into your application
POST http://localhost:8000/api/auth/recovery ForgotPasswordController to recover your credentials;
POST http://localhost:8000/api/auth/reset ResetPasswordController to reset your password after the recovery (setup your mail credentials in .env file to avoid error);
POST http://localhost:8000/api/auth/logout LogoutController to log out the user by invalidating the passed token;
GET http://localhost:8000/api/profile ProfileController to get current user data
PUT http://localhost:8000/api/profile ProfileController to update current user data
PUT http://localhost:8000/api/profile/password ProfileController to update current user password
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].