Skip to content

UMS with RBAC (User Management System with Role-Based Access Control) API built with Laravel 10.

Notifications You must be signed in to change notification settings

devmuhammadzaki/UMS-RBAC-API

Repository files navigation

UMS-RBAC-API

UMS with RBAC (User Management System with Role-Based Access Control) API built with Laravel 10.

Installation

  1. Download the code by clicking Code, Download ZIP. Or if you have Git install in your machine, you can run this in your terminal.
git clone https://github.com/devmuhammadzaki/UMS-RBAC-API.git
  1. Change directory to your local copy of UMS-RBAC-API in your terminal. Then install composer dependencies.
composer install
  1. Copy .env file from .env.example. In NIX machine you can use this command.
cp .env.example .env
  1. Prepare a database. You can use this command.
mysql -uroot -e "CREATE DATABASE UMS-RBAC-API_db"

If you have password for your database, you need to specify -p on the command.

  1. Configure your database settings in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=UMS-RBAC-API_db
DB_USERNAME=root
DB_PASSWORD=
  1. Migrate database tables and seed them with fake data
php artisan migrate
  1. Generate a key for you application
php artisan key:generate
  1. Run the development server
php artisan serve

Routes (Endpoints)

php artisan route:list

Tests

php artisan test

About

UMS with RBAC (User Management System with Role-Based Access Control) API built with Laravel 10.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published