https://github.com/muhammadzulhusni/book-reviews-learning-project
Web application built using Laravel, styled using Bootstrap. The main purpose of this project is to provide a platform for users to add reviews for books and share their reviews and feedback. Users can also search for books based on specific categories.
https://github.com/muhammadzulhusni/book-reviews-learning-project
book-reviews completed-project laravel-framework learning-project
Last synced: 2 months ago
JSON representation
Web application built using Laravel, styled using Bootstrap. The main purpose of this project is to provide a platform for users to add reviews for books and share their reviews and feedback. Users can also search for books based on specific categories.
- Host: GitHub
- URL: https://github.com/muhammadzulhusni/book-reviews-learning-project
- Owner: MuhammadZulhusni
- Created: 2024-03-22T23:04:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-19T16:09:34.000Z (9 months ago)
- Last Synced: 2025-01-10T05:17:45.024Z (4 months ago)
- Topics: book-reviews, completed-project, laravel-framework, learning-project
- Language: PHP
- Homepage:
- Size: 17.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book Reviews
## Installation
Clone the repository
git clone https://github.com/MuhammadZulhusni/Book-Reviews.git
Switch to the repo folder
cd Book-Reviews
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (**Set the database connection in .env before migrating**)
php artisan migrate
Start the local development server
php artisan serve
You can now access the server.
**Make sure you set the correct database connection information before running the migrations** [Environment variables](#environment-variables)php artisan migrate
php artisan serve## Database seeding
Open the DummyDataSeeder and set the property values as per your requirement
database/seeds/DummyDataSeeder.php
Run the database seeder and you're done
php artisan db:seed
***Note*** : It's recommended to have a clean database before seeding. You can refresh your migrations at any point to clean the database by running the following command
php artisan migrate:refresh
## Contributing
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature (`git checkout -b feature/YourFeatureName`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add some feature'`).
5. Push to the branch (`git push origin feature/YourFeatureName`).
6. Create a new Pull Request.