A Laravel application to manage organisation's users.
EMPLOYEEusers see the Home page after logging in.EMPLOYEEusers can see a Users data grid but have no editing rights.ADMINusers see a Users data grid after logging in, includingADMINusers.ADMINusers can create, edit, and delete users.ADMINusers can createADMINusers.ADMINusers cannot update or delete otherADMINusers.- An
ADMINuser cannot delete themself. - An Organisations CRUD for
ADMINusers. - Users search form
- Seeders to create organisations and users, including admin users.
- Tests for the users CRUD.
- Database: MySQL
- Framework: Laravel
- Docker
This project uses Docker containerisation so you can quickly run it in your local development environment.
To set up the project follow these steps:
- Set up the
.envfile:
cp .env.example .env- Start up the services
docker-compose up -d- Install the dependencies
docker-compose exec app composer install
npm install- Build the frontend resources
npm run dev- Create a key
docker-compose exec app php artisan key:generate- Run migrations
docker-compose exec app php artisan migrate --seed- View website
View the website at http://localhost:8000/. Log-in as Admin using: "admin@example.com" and "password".