The project is a demo dashboard system built with Laravel 7. The features of this project include
- Registration and Authentication of users.
- Manage dashboard grid links
- Manage links with CRUD.
- Email notification after registration - This features is disabled for fastest registration.
Clone the repository to your local machine by running the terminal command below.
git clone https://github.com/Stenli79/demo.git
Create your a MySQL database and note down the required connection parameters. (DB Host, Username, Password, Name)
Run the following command
cp .env.example .env
If your project url looks like: example.com/sub-folder Then go to
my-project/.env
And modify this line:
- APP_URL =
To make it look like this:
- APP_URL = http://example.com
This should create an exact copy of the .env.example file. Name the newly created file .env and update it with your local environment variables (database connection info and others).
Navigate to the project root directory via terminal and run the following command.
composer install
While still in the project root directory via terminal, run the following command.
npm install
npm run dev
php artisan key:generate
php artisan migrate
or run database migration and seed
php artisan migrate:refresh --seed
Run the following command
cp .env.testing.example .env.testing
Run the following command
php artisan key:generate --env=testing
Run the following commands
touch database/test.sqlite
Run the following commands
php artisan migrate:fresh --seed --env=testing
./vendor/bin/phpunit
Open your browser with address: http://example.com
Click "Login" on sidebar menu and log in with credentials:
- E-mail: [email protected]
- Password: password
Open your browser with address: http://demo.stenli.net
- E-mail: [email protected]
- Password: password