https://github.com/samsoft00/patricia-engineer-task
Patricia PHP Task, implementation of authentication service
https://github.com/samsoft00/patricia-engineer-task
api api-rest authentication authorization laravel login-system lumen registration
Last synced: about 2 months ago
JSON representation
Patricia PHP Task, implementation of authentication service
- Host: GitHub
- URL: https://github.com/samsoft00/patricia-engineer-task
- Owner: samsoft00
- Created: 2020-11-03T05:02:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-03T09:18:31.000Z (over 5 years ago)
- Last Synced: 2025-02-10T00:44:29.518Z (over 1 year ago)
- Topics: api, api-rest, authentication, authorization, laravel, login-system, lumen, registration
- Language: PHP
- Homepage: https://mypatricia.co
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Patricia PHP Task
Implement an Authentication service, with
1. Registration
2. Login
3. Token generation for subsequent actions
4. Fetch user's data. This should be implemented in Laravel (lumen) your work will be judged based on the following 5 criteria.
### Five (5) criteria
1. Does it work?
2. Code Quality,
3. Unit test coverage (>70%)
4. API Documentation
5. Use of best practice
### Usage
- `git clone https://github.com/samsoft00/patricia-engineer-task.git patricia-auth-api`
- `cd patricia-auth-api`
- `composer install`
- `cp .env.example .env`
- `php artisan jwt:secret`
- `php artisan migrate`
- `php -S localhost:8000 -t public`
### Postman Link
- `https://www.getpostman.com/collections/6df1de58ea594dca5511`
### Run Test
- `vendor/bin/phpunit`