- Notifications
You must be signed in to change notification settings - Fork42
modulr/api-laravel-passport
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
API documentationhere in postman
- Clone repository
$ git clone https://github.com/modulr/api-laravel-passport.git
- Enter folder
$ cd api-laravel
- Install composer dependencies
~/api-laravel$ composer install
- Generate APP_KEY
~/api-laravel$ php artisan key:generate
- Configure .env file, edit file with next command
$ nano .env
DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=databaseDB_USERNAME=userDB_PASSWORD=secret
- Run migrations
~/api-laravel$ php artisan migrate
- Create client
~/api-laravel$ php artisan passport:install
- laravolt/avatar - Generate avatars for users of application
- POST /auth/login
- GET /auth/logout
- POST /auth/signup
- GET /auth/signup/activate/{token}
- GET /auth/user
- POST /password/create
- GET /password/find/{token}
- POST /password/reset
About
The base for developing awesome projects
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.