{"id":17965985,"url":"https://github.com/ahmedbadr1/tenjaz-task","last_synced_at":"2026-04-10T23:52:46.864Z","repository":{"id":259052151,"uuid":"876249081","full_name":"ahmedBadr1/tenjaz-task","owner":"ahmedBadr1","description":"interview task for tenjaz company ","archived":false,"fork":false,"pushed_at":"2024-10-22T11:12:16.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-09T08:42:09.347Z","etag":null,"topics":["laravel","pest","sanctum","sqlite"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ahmedBadr1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-21T16:41:39.000Z","updated_at":"2024-10-22T11:12:20.000Z","dependencies_parsed_at":"2024-10-22T19:18:42.465Z","dependency_job_id":null,"html_url":"https://github.com/ahmedBadr1/tenjaz-task","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"5dde51c52de24bf9453a08d5c34507b91dae0d27"},"previous_names":["ahmedbadr1/tenjaz-task"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedBadr1%2Ftenjaz-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedBadr1%2Ftenjaz-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedBadr1%2Ftenjaz-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedBadr1%2Ftenjaz-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmedBadr1","download_url":"https://codeload.github.com/ahmedBadr1/tenjaz-task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247073072,"owners_count":20878991,"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","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":["laravel","pest","sanctum","sqlite"],"created_at":"2024-10-29T13:06:25.326Z","updated_at":"2026-04-10T23:52:46.791Z","avatar_url":"https://github.com/ahmedBadr1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tengaz Task\n\n# Backend Api for User / Product CRUDs\n\n## Ahmed Badr\n\n## Laravel - Sanctum - SQLite\n\n### Installation\n\nClone the repository\n\n    git clone git@github.com:ahmedBadr1/tenjaz-task.git\n\nSwitch to the repo folder\n\n    cd tenjaz-task\n\nInstall all the dependencies using composer\n\n    composer install\n\nCopy the example env file and make the required configuration changes in the .env file\n\n    cp .env.example .env\n\nFor using SQLite create a file named Database, it is already configured at .env file\n\n    touch database/database.sqlite\n\nGenerate a new application key\n\n    php artisan key:generate\n\nCreate Storage Link for uploaded files\n\n    php artisan storage:link\n\nInstall all the dependencies using npm\n\n    npm install \u0026\u0026 npm run dev\n\nRun the database migrations (**make sure the connection is set in .env before migrating**)\n\n    php artisan migrate\n\nStart the local development server\n\n    php artisan serve\n\nYou can now access the server at http://localhost:8000\n\n**TL;DR command list**\n\n    git clone git@github.com:ahmedBadr1/tenjaz-task.git\n    cd tenjaz-task\n    composer install\n    cp .env.example .env\n    php artisan key:generate\n\n**Make sure you set the correct database connection information before running the migrations**\n\n    php artisan migrate\n\n**Make sure you set the connection between storage and public directory (run only once in project lifetime)**\n\n    php artisan storage:link \n\n### Database seeding\n\n**Populate the database with seed data with relationships which includes users, articles, comments, tags, favorites and\nfollows. This can help you to quickly start testing the api or couple a frontend and start using it with ready content.\n**\n\nOpen the DummyDataSeeder and set the property values as per your requirement\n\n    database/seeders/DatabaseSeeder.php\n\nRun the database seeder and you're done\n\n    php artisan db:seed\n\n***Note*** : It's recommended to have a clean database before seeding. You can refresh your migrations at any point to\nclean the database by running the following command\n\n    php artisan migrate:fresh --seed\n\n**Accounts**\n\n    normal@demo.com   \n    sliver@demo.com\n    gold@demo.com\n\nyou can run test at sqlite in memory\n\n    php artisan test\n\nYou can now access the server at http://localhost:8000\n\n    php artisan serve\n\nYou can now access the Vite server at http://localhost:5173\n\n    npm run dev\n\nGenerate API Documentation\n\n    php artisan l5-swagger:generate\n\nNow You can now access the API Documentation http://127.0.0.1:8000/api/documentation\n\n**please generate new token and submit it in authorize tab**\n\n***Enjoy***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedbadr1%2Ftenjaz-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedbadr1%2Ftenjaz-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedbadr1%2Ftenjaz-task/lists"}