Build a RESTful-API ecosystem for a to-do list.
In this test, you have to fulfill all exceptions and complete tests successfully. Following rules are your mission:
- Follow the
Setup
,Development Requirement
to create your code - Finish the test by following
Definition of done
- Create new repository with this template.
- Run
docker-compose up -d --build
- Run
docker-compose exec app php artisan migrate
- Uncomment the lines in
routes/api.php
and create your class by the route list
- Complete it with
Laravel 8
,PHP 8
,Nginx
andMySQL 8
- API that modifies data must be protected by tokens
- Finish the test with current design pattern.
- Follow PSR-12 for coding style.
- Do not modify the test cases.
- Run
docker-compose exec app composer run test
- Make all tests passed successfully
- Get all to-do lists belong to authenticated user, sort by created time
- Get one to-do list
- Create one to-do list
- Update one to-do list
- Delete one to-do list
- Delete all to-do list
- Create one to-do list item
- Update one to-do list item
- Delete one to-do list item
- Login by email and password
- Generate a new token
- Get token status
We highly value the quality of the assignment, and we understand that candidates have their commitments. Hence should you require more information to complete the assignment to the best of your ability, please feel free to let us know.
Copyright © 2021 VoiceTube Corporation. All rights reserved.
The source code is licensed under MIT license.