Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 1.21 KB

README.md

File metadata and controls

65 lines (38 loc) · 1.21 KB

Laravel API - TDD

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.

Run Locally

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

Running Tests

To run tests, run the following command

  php artisan test

Authors

License

MIT

MIT License