This is a project for building a coffee shop website using Laravel framework.
To get started with this project, follow the instructions below.
Make sure you have the following software installed on your machine:
- PHP (version 8.0.0)
- Laravel (version 10.X.X)
-
Clone the repository:
git clone https://github.com/IlhamGhaza/laravel-coffee-shop.git
-
Navigate to the project directory:
cd laravel-coffee-shop
-
Install the dependencies:
composer install
-
Configure the environment variables:
- Rename the
.env.example
file to.env
. - Update the necessary environment variables in the
.env
file.
- Rename the
-
Generate the application key:
php artisan key:generate
-
Make sure to create a database and update the database name in the
.env
file. -
Run the database migrations:
php artisan migrate:fresh --seed
-
Start the development server:
php artisan serve
-
Open your browser and visit
http://localhost:8000
to see the application. -
You can login as an admin using the following credentials:
- look at the seeder file to get the credentials
App\Database\Seeders\UserSeeder.php
-
See the postman collection for the API documentation.
Laravel Coffee Shop.postman_collection.json
Api documentation can be found in the postman collection file.
coming soon (^▽^)
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
This project is licensed under the MIT License.