Skip to content

murri06/task-crud-api

Repository files navigation

Task CRUD API

made by Ruslan Liakhovets

Deployment

for local deployment, you need to install Docker, clone repo, unzip it into a folder, use terminal to install needed packages using
composer install
After that start sail with command
./vendor/bin/sail up

After it was deployed, you can use command
./vendor/bin/sail artisan migrate --seed
to create and seed the database.

Testing

There are two pre-created users that you can use to test it out, and below listed the credentials for them:

First User


email: test@example.com
and password: secret

Second User


email: johndoe@example.com
and password: superSecret

Each user has six faked tasks to work with so you can test its functionality While your project is running, you can use API documentation so it will be easier to check everything ;)

Specification

You have functionality to register a new account, providing name, unique email, strong password and its confirmation, login into existing account and logout of the current logged account.
For tasks, you can receive a list of user tasks, also you can use filter to receive only completed or pending tasks. Also, you can use search to look for a specific task using name or description.
Of course, you can add new tasks, edit them, receive information about a specific task using its ID, or delete it. For each of these actions, the system checks whether your account has permission to access with the data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors