https://github.com/zzzul/kledo
PT. Kledo Berhati Nyaman - Backend Developer Laravel (Remote) - Back End Assessment V
https://github.com/zzzul/kledo
backend laravel php8 remote rest-api swagger unit-test
Last synced: 2 months ago
JSON representation
PT. Kledo Berhati Nyaman - Backend Developer Laravel (Remote) - Back End Assessment V
- Host: GitHub
- URL: https://github.com/zzzul/kledo
- Owner: Zzzul
- Created: 2025-05-06T08:30:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-21T06:19:14.000Z (5 months ago)
- Last Synced: 2025-07-18T16:25:04.015Z (3 months ago)
- Topics: backend, laravel, php8, remote, rest-api, swagger, unit-test
- Language: PHP
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Kledo API Project
## ๐ข PT. Kledo Berhati Nyaman
### ๐ง Back End Assessment V---
## ๐ Table of Contents
1. [โ Requirements](#-requirements)
2. [โ๏ธ Setup](#๏ธ-setup)
3. [๐ Swagger Docs](#-swagger)
4. [๐งช Testing](#-testing)---
## โ Requirements
- ๐ PHP 8.4
- ๐ฌ MySQL---
## โ๏ธ Setup
1. ๐ฝ Clone or download this repository:
```bash
git clone https://github.com/Zzzul/kledo.git
```2. ๐ Move into the project directory:
```shell
cd kledo
```3. ๐ฆ Install Laravel dependencies:
```shell
composer install
```4. ๐ Copy the example environment file:
```shell
cp .env.example .env
```5. ๐ Generate the application key:
```shell
php artisan key:generate
```6. โ๏ธ Configure your database settings in ```.env```:
```shell
DB_DATABASE=kledo
DB_USERNAME=root
DB_PASSWORD=
```7. ๐ ๏ธ Run migrations and seed the database:
```shell
php artisan migrate --seed
```
> Seeder only includes status data โ8. โถ๏ธ Start the development server:
```shell
php artisan serve
```## ๐ Swagger
Access the API documentation at: `/api/documentation`## ๐งช Testing
To run the tests:
```shell
php artisan test
```