A news aggregator website that pulls articles from various sources and displays them.
- NewsAPI.org
- The Guardian
- New York Times
Running the project is straight forward since it's dockerized.
- Clone the repository.
cd
into the repository.- Run
docker-compose up
. - While still inside the repository, run
docker-compose exec backend php artisan migrate:fresh --seed
to run the migration and seed the database with a test user.
That's it, the project will run on localhost:80
. There's an Nginx reverse proxy that handles communication between react and Laravel, so that both applications can run on the same top level domain, that way Sanctum's authentication would work.
No extra configuration is need, .env already has keys for the API which you're free to use.
You can login using the existing credentials below or create a new user.
- email:
johndoe@example.com
- password:
password