Welcome to the Task Manager App! This application helps you manage your tasks efficiently.
- Task Management: Organize your tasks with ease.
- User Authentication: Securely log in to your account.
- Task Status: Mark tasks as completed, pending, or in-progress.
- Priority Levels: Assign priority levels to tasks.
- Due Dates: Set due dates for tasks to stay on track.
- User-Friendly Interface: Intuitive design for a seamless user experience.
- PHP (version 8.x)
- Laravel (version 8.x recommended)
- Composer
-
Clone the repository:
https://github.com/Hsnmsri/taskmanager_backend.git
-
Install dependecies
composer install
-
Create .env file
cp .env.example .env
-
Create Mysql Database
-
Set Database connection data on .env file
-
Run Migration
php artisan migrate
-
Config Mail Server on .env file
-
Run Application
php artisan serve
The Task Manager is a Laravel-based application designed to help users manage their tasks efficiently. It includes various features such as task creation, categorization, and user settings.
The AccessToken
model represents the access tokens used for authentication and authorization in the application.
The RecoveryToken
model is responsible for handling recovery tokens used in password recovery processes.
The Task
model represents individual tasks within the system. It includes attributes such as title, description, status, due date, etc.
The TaskCategories
model defines the categories to which tasks can be assigned. It helps in organizing and categorizing tasks.
The User
model represents the application's users. It includes details such as username, email, password, etc.
The TaskController
is responsible for managing tasks. It handles tasks CRUD operations, task categorization, and other related functionalities.
The UserController
manages user-related settings and access tokens. It includes functionalities such as updating user information, managing tokens, etc.
The UserAuth
middleware is used to check the validity of the user's access token in incoming requests. It ensures that only authenticated and authorized users can access protected routes.
project-root/
│
├── app/
│ ├── Http/
│ │ ├── Controllers/
│ │ │ ├── TaskController.php
│ │ │ └── UserController.php
│ │ ├── Middleware/
│ │ │ └── UserAuth.php
│ │ └── ...
│ ├── Models/
│ │ ├── AccessToken.php
│ │ ├── RecoveryToken.php
│ │ ├── Task.php
│ │ ├── TaskCategories.php
│ │ └── User.php
│ └── ...
├── database/
│ ├── migrations/
│ └── ...
├── routes/
│ ├── web.php
│ └── ...
└── ...
Download the Postman collection to explore and test the API:
Download the error json file: