{"id":23151291,"url":"https://github.com/samsoft00/codeline-hotel-api","last_synced_at":"2025-08-17T20:31:56.034Z","repository":{"id":37508847,"uuid":"198517266","full_name":"samsoft00/codeline-hotel-api","owner":"samsoft00","description":"Codeline Hotel Management System (CHML) API developed with Laravel framework, frontend powered by VueJs","archived":false,"fork":false,"pushed_at":"2023-01-04T05:12:24.000Z","size":35765,"stargazers_count":3,"open_issues_count":26,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T12:24:58.081Z","etag":null,"topics":["api","laravel-framework","lumen","php","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samsoft00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-23T22:25:55.000Z","updated_at":"2019-12-25T18:43:46.000Z","dependencies_parsed_at":"2023-02-01T22:32:01.172Z","dependency_job_id":null,"html_url":"https://github.com/samsoft00/codeline-hotel-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samsoft00/codeline-hotel-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fcodeline-hotel-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fcodeline-hotel-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fcodeline-hotel-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fcodeline-hotel-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samsoft00","download_url":"https://codeload.github.com/samsoft00/codeline-hotel-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fcodeline-hotel-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270902148,"owners_count":24665214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","laravel-framework","lumen","php","vuejs"],"created_at":"2024-12-17T18:32:27.453Z","updated_at":"2025-08-17T20:31:52.263Z","avatar_url":"https://github.com/samsoft00.png","language":"JavaScript","readme":"## About Codeline Hotel Management System\nCodeline Hotel Management System (CHML) is a web application develop using Laravel and VueJs framework, with expressive, elegant syntax.\nCHML takes the pain out of Hoteliers by easing their Booking process and Customer management, such as:\n\n- Room Manager\n- Room Type Manager\n- Price List Manager\n- Booking Manager\n\n## CHML Homepage\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"public/images/hotel/home-page.PNG\"\u003e\n\u003c/div\u003e\n\n## CHML Backend Page\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"public/images/hotel/backend-page.PNG\"\u003e\n\u003c/div\u003e\n\n## CHML Setup\nSetup is pretty simple, foremost you need to have the following install on your environment, currently using window, you can search on how to set it up on other OS.\n1. Node \u0026\u0026 Node Package Manager \u003cbr/\u003e\n2. Php \u0026\u0026 Composer \u003cbr/\u003e\n3. Xampp/Wamp \u003cbr/\u003e\n4. Nagivate to your localhost http://127.0.0.1/phpmyadmin, create database called \"codeline\" then \u003cbr/\u003e\n5. Open your bash or CMD, ensure you have git install on your workstation, clone the repo below \u003cbr/\u003e\n    ```git clone http://gitlab.gitesoft.com/test-assignments-v2/22107-test-assignment-for-laravel-_-frontend.git ``` \u003cbr/\u003e\n6. Once you successfully clone the repo, cd into the directory and run the following commad \u003cbr/\u003e\n7. In the project directory, run \u003cbr/\u003e\n    ``` npm install ``` =\u003e this will install \u003cbr/\u003e\n    ``` composer install ``` =\u003e This will install Laravel Dependencies\n8. Before you procced, go to .env file in the project directory, change database connection parameters to fit into your configuration \u003cbr/\u003e\n    ``` php artisan migrate ```  =\u003e Create database table \u003cbr/\u003e\n    ``` php artisan db:seed ``` =\u003e Load seeders ( You can modified this in database/seeds/DatabaseSeeder.php) \u003cbr/\u003e\n9. If you're able to run the above successfully, congratulation, next, you should run the passport:install command. This command will create the encryption keys needed to generate secure access tokens. In addition, the command will create \"personal access\" and \"password grant\" clients which will be used to generate access tokens: \u003cbr/\u003e\n    ``` php artisan passport:install ``` \u003cbr/\u003e\n10. After you've run the command, it'll print some data into your screen, use the second value to update the following params in your environment configuration (.env) \n\u003cbr/\u003e\nMIX_CLIENT_ID=2 \u003cbr/\u003e\nMIX_CLIENT_SECRET=eDwaB2ZpgU62Wp21o3RB8I5yL6hZzC9FR2qM1TrK \u003cbr/\u003e\n\n11. Run ```npm run dev ``` \u003cbr/\u003e\n12. Finally, run the following command in your project directory to boot up the server. \u003cbr/\u003e\n    ``` php artisan serve ``` \u003cbr/\u003e\nthen go to \u003cbr/\u003e\n    http://127.0.0.1:8000 =\u003e Home Page \u003cbr/\u003e\n    http://127.0.0.1:8000/admin/room-manager =\u003e Administrator Page \u003cbr/\u003e\n\n## Admin Login Credential\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003cth\u003eEmail Address\u003c/th\u003e\n        \u003ctd\u003e admin@codelinehotel.io \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003cth\u003ePassword\u003c/th\u003e\n        \u003ctd\u003e password \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Testing Instructions\n1. Create ```.env.testing``` file with the following params\n\n``` javascript\n    APP_NAME=Laravel\n    APP_ENV=testing\n    APP_KEY=base64:5CpEFQ9UTR543dbJUsT3araoSSyxuN8NF92gCJJXpk8=\n    APP_DEBUG=true\n    APP_URL=http://127.0.0.1:8000\n\n    LOG_CHANNEL=stack\n\n    DB_CONNECTION=sqlite\n    DB_DATABASE=./database/test.sqlite\n\n    BROADCAST_DRIVER=log\n    CACHE_DRIVER=array\n    SESSION_DRIVER=array\n    SESSION_LIFETIME=120\n    QUEUE_DRIVER=sync\n\n    MAIL_DRIVER=array\n    \n    MIX_CLIENT_ID=2\n    MIX_CLIENT_SECRET=tCVvCTZjuH1h1rCGNufX2ZGqRAcS3LS3R95u2DEZ    \n```\n2. Create ```database/test.sqlite ``` and then update the path in ```.env.testing``` \n3. Next, because we're going to make use of the seeder, run the following command and specify the env\n    ```php artisan migrate --seed --env=testing```\n4. Run ```php artisan passport:install --env=testing ``` and copy to replace the below in your ```.env.testing```'\n\n    ``` javascript \n   MIX_CLIENT_ID=2\n   MIX_CLIENT_SECRET=tCVvCTZjuH1h1rCGNufX2ZGqRAcS3LS3R95u2DEZ \n   ```\n4. Run test ```composer test``` \u003cbr/\u003e\n\n## Test Console\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"public/images/hotel/test.PNG\"\u003e\n\u003c/div\u003e\n\nIf you've any issue setting this up, will be available to help out.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fcodeline-hotel-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamsoft00%2Fcodeline-hotel-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fcodeline-hotel-api/lists"}