An open API service indexing awesome lists of open source software.

https://github.com/gsabadini/laravel-auth

API Rest with Laravel, authentication using JWT Auth and integration test in PHPUnit.
https://github.com/gsabadini/laravel-auth

jwt-authentication laravel laravel-framework phpunit-tests rest

Last synced: about 1 month ago
JSON representation

API Rest with Laravel, authentication using JWT Auth and integration test in PHPUnit.

Awesome Lists containing this project

README

          

Welcome to Laravel Auth 👋

## Client repository

- [Vue Auth](https://github.com/GSabadini/vue-auth)

## Getting Started

- These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

- What things you need to install the software and how to install them

```
Docker and docker-compose
```

### Installing

- Step by step

```
docker-compose up -d
```

```
docker-compose exec devapp bash
```

```
composer install
```

```
create .env through env.example
```

```
php artisan migrate --seed
```

## Running the tests

```
docker-compose exec devapp bash
```
- All tests

```
vendor/bin/phpunit
```