Develop a To-do list and/or Shopping list for us. It should consist of a loss back- and frontend, which communicate with each other.:
- Shows a list of items;
- Being able to edit an item;
- A photo uploaded with the item;
- Being able to view the details of an item;
- The option to mark an item as complete;
- Being able to remove an item from the list;
- And make sure to always check for errors.
PHP 8.2
Laravel 8.8
If you have docker installed, bring up your terminal, navigate to the root directory of the project and follow the steps below
- Bring up your terminal
- Clone the project locally by running this command "git clone https://github.com/chicodes/beeproger-todo-backend.git"
- CD into the directory where the project was cloned.
- Run this command "composer install"
- Run this command "docker-compose up -d"
- Then run this command "docker exec todo_api php artisan migrate"
Afterwards you should be able to access the app from the url below
To run the project locally run the command below--
open the project in PHPSTORM and run the commands in quotes
"composer update" "php -S localhost:1759 -t public"
baseurl should be http://localhost:1759/todo/v1
- I would have written more test and achieved a test coverage of at least 90%.
- I would have used Redis or memcache for caching instead of using the file method
This API is also accessible remotely through th link below:
https://todo-test.herokuapp.com/todo/v1
Frontend code base can be found in the github repo below: