This project is a web application that consumes APIs from the API Service Blog to display and manage blog posts.
To get started with the project, follow these steps:
- Clone the repository:
- Change into the project directory:
- Install the dependencies using Composer:
- Set up the configuration by copying the
.env.example
file to.env
: - Update the
.env
file with the necessary configuration, including the base URL of the First Project's APIs: - Generate the application key:
git clone https://github.com/bimprakosoo/blog.git
cd blog
composer install
cp .env.example .env
APP_URL=http://localhost:8000
API_BASE_URL=http://localhost:8000/api
php artisan key:generate
To use the application, follow these steps:
- Start the local development server:
- Access the application in your web browser using the provided URL (e.g.,
http://localhost:8000
). - Register a new user account or log in using existing credentials.
- Explore the blog posts by navigating to the home page or specific post details.
- Optionally, you can submit comments for blog posts if you are logged in.
- Log out when you're done using the application.
php artisan serve
This project is licensed under the MIT License.