/laravel-api-auth

A laravel API application that authorizes users based on roles to be able to access a specific endpoint, also it has a unit test setup to test the endpoint.

Primary LanguagePHP

About Project

Simple laravel API project with authentication and authorization, allowing only a specific role to access an endpoint. It also has a PHP UNIT test already in setup to test the endpoint.

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Usage

  1. Install laravel
  2. Run Migrations
  3. Signup a user and log in Enjoy

That's all, you are good to go.

Contributing

For contributions, you can send me an email on koryoesz@gmail.com

My Profile

My LinkedIn Profile - https://linkedin.com/in/oluwayomi-kolawole-5b40b7111/

Our To Setup

  • Install composer
  • Setup your .env file, you can copy the .env.example file and do a renaming
  • Setup your database and include credentials in the .env file
  • Install Migration by running "php artisan migrate"
  • Run the application, you are set!!!