/blogapp-frontend

Personal blog pages (posts and comments)

Primary LanguagePHP

Personal Blog App

This is a personal blog app that allows users to view, comment, and create blog posts.

Features

  • Homepage: The homepage displays a list of all blog posts. Non-authenticated users can view all blog posts and comments. Screenshot from 2023-07-22 19-07-19

  • Commenting: Only authenticated users can add, update, and delete comments.

Screenshot from 2023-07-22 19-07-48

  • User registration and login: Users can register and login to the application.

Screenshot from 2023-07-22 19-09-15

Running the application

You have to run backend apis before from this repo : https://github.com/OmarShamkh/blogapp-rest-apis.git

git clone https://github.com/OmarShamkh/blogapp-frontend.git
cd blogapp-frontend/blogapp
Create a new env variable in ".env.example" file: "BACKEND_URL = http://blog-backend:8000" , then rename the file to ".env".
docker compose up

The application will be running at http://localhost:8001/blog.

Thats all!