- Create, delete and update todo
- Set todo to "Done"
- Reorder tasks
- Show dates when todo was created
- Login functionality
- Nested tasks. (Big task can have multiple sub-tasks)
- Quick entry. A text field when a text is written and hit "Enter" a new task is created
- Backend
- Frontend
- Vue2 datepicker icon shows in wrong place
- Not showing validation error messages from server
- Email: [email protected]
- Password: 123456789
- Clone this repository into your server folder.
- Create a new database in postgres.
- In the root folder of the project rename file .env.example to .env
and specify environment variables:
- Set
DB_CONNECTION
topgsql
- Set database name
- Set database user
- Set database user password
- Set
APP_URL
- Set
APP_DEBUG
tofalse
- Set
APP_ENV
toproduction
- Set
- After configuring database, run migrations with
php artisan migrate
- After migrating tables, run seeders with
php artisan db:seed
If you are deploying your application to a server that is running Nginx, you may use the following configuration file as a starting point for configuring your web server. Most likely, this file will need to be customized depending on your server's configuration. If you would like assistance in managing your server, consider using a service such as Laravel Forge:
listen 80;
server_name example.com;
root /example.com/public;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
index index.html index.htm index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.(?!well-known).* {
deny all;
}
}
Please refer to the official laravel documentation for deployment for additional optimization options