Laravel app developed using TDD approach.
This project includes
- Show posts in the feed with their information (Image, description, date, author) including total likes and the last 5 usernames who liked the post.
- Feed is public (Doesn’t need authentication), paginated, and order by creation date.
- Authenticated Users can like/unlike posts.
- Users can remove their posts, with the image file.
- Users can like/unlike other posts.
- Users can see all likes of a specific post.
- Send a notification to other users when a new post is added. (using Database channel)
- Automatically delete posts 15 days old.
Clone the project
git clone https://github.com/yogesh16/Laravel-API-TDD.git
Go to the project directory
cd Laravel-API-TDD
Install dependencies
composer install
Start the server
php artisan start
To run tests, run the following command
php artisan test