TODO APP
This is a Todo App that uses Laravel as the backend framework and Nuxt.js as the frontend framework.
- Docker
- Clone the repository.
- Open terminal in the
backend
folder Then, run the following command to build and start the Docker containers:
docker compose up -d --build
- Execute the migration of backend:
docker exec Serve sh -c "cd /app && php artisan migrate"
- Then you can now run the backend by accessing localhost:8000.
- Add a new terminal that opens in the
frontend
folder Then, run the following command to build and start the Docker containers:
docker compose up -d --build
- Then you can now run the site by accessing localhost:3000.
The unit testing for this project is located in the backend/tests
directory. It includes test cases for various components and functionalities of the project.
To run the unit tests, you can try this on terminal : For Feature Tests:
docker exec Serve sh -c "cd /app && php artisan test --testsuite=Feature"
For Unit Tests:
docker exec Serve sh -c "cd /app && php artisan test --testsuite=Unit"
This project is licensed under the MIT License.