A Laravel application to manage organisation's users.
EMPLOYEE
users see the Home page after logging in.EMPLOYEE
users can see a Users data grid but have no editing rights.ADMIN
users see a Users data grid after logging in, includingADMIN
users.ADMIN
users can create, edit, and delete users.ADMIN
users can createADMIN
users.ADMIN
users cannot update or delete otherADMIN
users.- An
ADMIN
user cannot delete themself. - An Organisations CRUD for
ADMIN
users. - 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
.env
file:
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".