Skip to content

mrrbt12/Laravel-API-TDD

Repository files navigation

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/mrrbt12/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

License

MIT

MIT License

About

REST API build with Laravel using TDD Approach

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages