- User can add new task, edit, mark complete/incomplete and delete them
- User can see the list of tasks.
- Task can be pinned to top of the list.
- User can update profile. Fields are: name, phone, address, city, state, zip, country
- User can change password separately. Fields are: old password, new password, confirm password
- Admin can add admin & regular users.
- Admin can set user status active/inactive.
- Every admin can have their own user group.
- Framework: Laravel ^7.0
- Database: MySQL
composer install
composer update
sudo cp .env.example .env
note: edit .env to set your DB, user, password
php artisan migrate:fresh --seed
php artisan key:generate
php artisan serve
mkdir -p /var/www/todos.vegasliquidationstore.com
mkdir -p /var/www/todos.vegasliquidationstore.com/htdocscp -a task-manager-app/. /var/www/todos.vegasliquidationstore.com/htdocs/sudo chown -R $USER:$USER /var/www/todos.vegasliquidationstore.com
sudo chmod -R 755 /var/www/todos.vegasliquidationstore.comsudo nano /etc/nginx/sites-available/todos.vegasliquidationstore.comserver {
listen 80;
server_name todos.vegasliquidationstore.com;
root /var/www/todos.vegasliquidationstore.com/htdocs/public;
index index.php index.html index.htm;
access_log /var/log/nginx/todos_access.log;
error_log /var/log/nginx/todos_error.log;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; # Adjust PHP version as needed
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}sudo ln -s /etc/nginx/sites-available/todos.vegasliquidationstore.com /etc/nginx/sites-enabled/sudo nginx -tsudo systemctl restart nginxsudo certbot --nginx -d todos.vegasliquidationstore.comsudo systemctl restart php7.4-fpm