https://github.com/pedroriverove/laravel-basic-notes
Laravel departmental notes system with role-based access control
https://github.com/pedroriverove/laravel-basic-notes
bootstrap laravel mysql php
Last synced: 3 months ago
JSON representation
Laravel departmental notes system with role-based access control
- Host: GitHub
- URL: https://github.com/pedroriverove/laravel-basic-notes
- Owner: pedroriverove
- Created: 2023-10-05T05:37:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T03:40:53.000Z (over 1 year ago)
- Last Synced: 2025-08-01T05:58:32.335Z (11 months ago)
- Topics: bootstrap, laravel, mysql, php
- Language: CSS
- Homepage:
- Size: 3.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel departmental notes system with role-based access control
## Requirements
This uses Laravel 10.x, Please make sure your server meets the requirements before installing.
- PHP >= 8.1
- Composer
## Installation
### Clone the repo and cd into it
```bash
git clone https://github.com/pedroriverove/laravel-basic-notes.git
cd laravel-basic-notes
```
### Install composer dependencies
```bash
composer install
```
In this app, we don't use npm or yarn, we use cdn instead
### Create a copy of your .env file
```bash
cp .env.example .env
```
### Set your database credentials in your .env file
Change the following lines in your .env file
```conf
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_dbname
DB_USERNAME=your_dbuser
DB_PASSWORD=your_dbpassword
```
### Generate an app encryption key
```bash
php artisan key:generate
```
### Migrate the database and seed
```bash
php artisan migrate
php artisan db:seed
```
Database seeding randomly loads data for the following entities:
* Departments: customer service, human resources, sales, cleaning, recycling plant
* Roles: manager, supervisor, employee
* Users: All users are created with the password: ***password***
* Clients.
* Notes.
### Link storage folder
```bash
php artisan storage:link
```
### Run the server
```bash
php artisan serve
```
## Login credentials for super admin
Visit 127.0.0.1:8000 in your browser and login with the following credentials:
```
email: admin@example.com
password: password
```
## Screenshot
