______ _
| _ \ (_)
| | | |___ _ _ __ __ _ ___
| | | / _ \| | '_ \ / _` / __|
| |/ / (_) | | | | | (_| \__ \
|___/ \___/|_|_| |_|\__, |___/
__/ |
|___/
Laravel application for working with ToDo sheets, authorization, adding/deleting tasks is implemented, each user has their own tasks.
Clone the repository:
$ git clone git@github.com:Neyghyw/doings.git
Switch to the repo folder:
cd doings
Install all the dependencies using composer:
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
Start the local development server
php artisan serve
Start the npm development server
npm run dev
(optional) Mailhog uses for mailing. See Mailhog. For run mail-server run:
make run-docker-mailhog
You can now access the server at http://localhost:8000
Before use project, you need to set DB params in .env
Next, run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
To populate the database with test data run:
php artisan seed
P.S: Default user password in seed-data = password
The project uses Mailhog as a test mail server.
The .env.example file contains ready-made settings for it. The following command will be used with the settings from .env.example.
make run-docker-mailhog
or
docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog
- Николай Кузьмин — Junior web-developer