Web application (Blog) developed in Laravel version 10
Use the terminal of your OS for execute the following commands
Clone the project
git clone git@github.com:AntonioGuizar/Protec.gitGo to the project directory
cd my-projectInstall dependencies
composer install
npm installRename the .env file
mv .env.example .envConfigure the database into the .env file, set a database name and use your user and password to allow the database creation
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=protec
DB_USERNAME=root
DB_PASSWORD=Generate the APP KEY
php artisan key:generateRun migrations to populate the database
php artisan migrate --seedThe last command will create the database, tables and some example data
Start the Laravel server
php artisan serveStart the development server
npm run devRemember that you are in a development environment, so the application needs to run the development server. If you want to make changes, this will help you with Laravel hot reload and debugger.
You can use the aplication in http://127.0.0.1:8000
There are 3 test user, you can use one of them or create your own user
Each test user has 5 posts created
email: user1@example.com
password: password1
email: user2@example.com
password: password2
email: user3@example.com
password: password3To run this application you must take into account the following requirements.
- PHP >= 8.1
- Composer
- A database server running (MySQL)