{"id":22733749,"url":"https://github.com/marcesdan/turnos","last_synced_at":"2025-07-15T06:34:43.407Z","repository":{"id":125645026,"uuid":"150222862","full_name":"marcesdan/turnos","owner":"marcesdan","description":"Scheduling appointment web system for health centers","archived":false,"fork":false,"pushed_at":"2019-04-23T02:14:20.000Z","size":2176,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T02:17:25.206Z","etag":null,"topics":["axios","bootstrap-notify","bootstrap4","datatables","fullcalendar","jquery","laravel","npm","php","php7","sass","select2","sweetalert","vali-admin","webpack"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcesdan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-09-25T07:13:22.000Z","updated_at":"2024-03-10T20:04:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"65cc7e47-f4b3-4121-a73e-5f071949b03d","html_url":"https://github.com/marcesdan/turnos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/marcesdan/turnos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fturnos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fturnos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fturnos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fturnos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcesdan","download_url":"https://codeload.github.com/marcesdan/turnos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fturnos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265414556,"owners_count":23761017,"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":["axios","bootstrap-notify","bootstrap4","datatables","fullcalendar","jquery","laravel","npm","php","php7","sass","select2","sweetalert","vali-admin","webpack"],"created_at":"2024-12-10T20:16:00.131Z","updated_at":"2025-07-15T06:34:42.744Z","avatar_url":"https://github.com/marcesdan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sistema de gestión de turnos para centros de salud\n\n# Turn-based management system for health centers\n\nThis repo is functionality complete — PRs and issues welcome!\n\n----------\n\n# Getting started\n\n## Installation\n\nPlease check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/5.4/installation#installation)\n\n\nClone the repository\n\n    git clone github.com/marcesdan/turnos.git turnos\n\nSwitch to the repo folder\n\n    cd turnos\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\nGenerate a new application key\n\n    php artisan key:generate\n\nRun the database migrations (**Set the database connection in .env before migrating**)\n\n    php artisan migrate\n     \nInstall node modules\n\n    npm install\n    \nCompile assets\n    \n    npm run dev\n      \nOr watch/recompile for assets changes with Browsersync\n    \n    npm run watch\n\nStart the local development server\n\n    php artisan serve\n\nYou can now access the server at http://localhost:8000\nAnd with the watch option... at http://localhost:3000\n\n## Database seeding\n\n**Populate the database with seed data with relationships which includes users, medicos, roles, especialidades, turnos. This can help you to quickly start testing the api or couple a frontend and start using it with ready content.**\n\nOpen the DatabaseSeeder and set the property values as per your requirement\n\n    database/seeds/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 clean the database by running the following command\n\n    php artisan migrate:refresh\n\n----------\n\n# Code overview\n\n## Dependencies\n\n- [laravel-cors](https://github.com/barryvdh/laravel-cors) - For handling Cross-Origin Resource Sharing (CORS)\n\n## Folders\n\n- `app` - Contains all the Eloquent models\n- `app/Http/Controllers` - Contains all the controllers\n- `app/Http/Middleware` - Contains the JWT auth middleware\n- `app/Http/Requests` - Contains all the api form requests\n- `app/Http/Resources` - Contains all the eloquent api resources\n- `app/Services` - Contains the business logic\n- `config` - Contains all the application configuration files\n- `database/factories` - Contains the model factory for all the models\n- `database/migrations` - Contains all the database migrations\n- `database/seeds` - Contains the database seeder\n- `routes` - Contains all theroutes defined in api.php file and web.php file\n\n## Environment variables\n\n- `.env` - Environment variables can be set in this file\n\n***Note*** : You can quickly set the database information and other variables in this file and have the application fully working.\n\n----------\n\n# Testing API\n\nRun the laravel development server\n\n    php artisan serve\n\nThe api can now be accessed at\n\n    http://localhost:8000/api\n \n# Authentication\n \nThis applications use the auth scaffolding provided by Laravel\n \n- https://laravel.com/docs/master/authentication\n\n----------\n\n# Cross-Origin Resource Sharing (CORS)\n \nThis applications has CORS enabled by default on all API endpoints. The default configuration allows requests from `http://localhost:3000` and `http://localhost:4200` to help speed up your frontend testing. The CORS allowed origins can be changed by setting them in the config file. Please check the following sources to learn more about CORS.\n \n- https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS\n- https://en.wikipedia.org/wiki/Cross-origin_resource_sharing\n- https://www.w3.org/TR/cors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcesdan%2Fturnos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcesdan%2Fturnos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcesdan%2Fturnos/lists"}