Это простая система комментариев, которая позволяет пользователям просматривать статью и оставлять комментарии. Комментарии сохраняются в базе данных совместно с датой их публикации.
- Docker
- Docker Compose
- Clone the repository::
git clone git@github.com:kdes70/SimpleCommentSystem.git
- Navigate to the project directory:
cd comment-system
- Build and start the Docker containers:
docker-compose up -d
- Install the PHP dependencies:
docker-compose exec app composer install
- Install the JavaScript dependencies:
docker-compose exec app npm install
- Build the JavaScript assets:
docker-compose exec app npm run dev
The application should now be accessible at http://localhost:8000
.
To add a new comment, fill out the form on the homepage and submit it. The comment will be added asynchronously without reloading the page.
During development, you can run the following command to watch for changes in JavaScript files and automatically rebuild the assets:
If you make changes to PHP files, you will need to restart the Docker containers:
This project is licensed under the MIT License.