Skip to content

modulr/api-laravel-jwt

Repository files navigation

Modulr API Laravel

Table of Contents

Install

  1. Clone repository
$ git clone https://github.com/modulr/api-laravel.git
  1. Enter folder
$ cd api-laravel
  1. Install composer dependencies
~/api-laravel$ composer install
  1. Generate APP_KEY
~/api-laravel$ php artisan key:generate
  1. Configure .env file, edit file with next command $ nano .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database
DB_USERNAME=user
DB_PASSWORD=secret
  1. Run migrations
~/api-laravel$ php artisan migrate

Dependencies

Routes

Authentication
  • POST /auth/login
  • GET /auth/logout
  • POST /auth/signup
  • GET /auth/user

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published