`id`,
`title`,
`content`,
`attachment`,
`created_at`,
`done_at`,
`deleted_at`
- JSON-API like response and JSON payload or multipart for requests
- API that modifies data must be protected by tokens
- Tokens can be self-designed or JWT token
- Design DB schema by your self
- Optimize performance /w some other technologies
- Create a local dev environment using Docker
- Tokens with TTL
- Tokens with RefreshToken
- get all to-do lists
- 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
- generate a new token
- get token status (Only if tokens with TTL or RefreshToken)
Please upload your source code to GitHub or other similar service
$ cp laradock-env ./laradock/.env
$ cd laradock
$ docker-compose up -d nginx mysql adminer redis
$ docker-compose exex -it workspace php artisan key:generate
Edit following configuration in laravel .env file
DB_HOST=mysql
DB_DATABASE=default
DB_USERNAME=default
DB_PASSWORD=secret
Import VT-ToDoList API.postman_collection.json to your Postman.