{"id":21343822,"url":"https://github.com/robsonsilv4/el-royale","last_synced_at":"2025-08-04T18:07:38.457Z","repository":{"id":39823612,"uuid":"209379488","full_name":"robsonsilv4/el-royale","owner":"robsonsilv4","description":":snake: API para Gerenciamento de Cadastro de Hotéis","archived":false,"fork":false,"pushed_at":"2022-12-09T06:16:13.000Z","size":86,"stargazers_count":3,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T15:39:53.494Z","etag":null,"topics":["django","django-rest-framework","docker","docker-compose","postgresql","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/robsonsilv4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-18T18:39:04.000Z","updated_at":"2022-05-03T17:25:31.000Z","dependencies_parsed_at":"2022-07-26T05:03:06.028Z","dependency_job_id":null,"html_url":"https://github.com/robsonsilv4/el-royale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robsonsilv4/el-royale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fel-royale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fel-royale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fel-royale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fel-royale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robsonsilv4","download_url":"https://codeload.github.com/robsonsilv4/el-royale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robsonsilv4%2Fel-royale/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268739070,"owners_count":24299566,"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-04T02:00:09.867Z","response_time":79,"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":["django","django-rest-framework","docker","docker-compose","postgresql","python"],"created_at":"2024-11-22T01:15:37.455Z","updated_at":"2025-08-04T18:07:38.344Z","avatar_url":"https://github.com/robsonsilv4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# El Royale API\n\nAPI RESTFul de gerenciamento de cadastro de hotéis, desenvolvida para o desafio da Stopover.\n\nO nome El Royale é inspirado no filme: Maus Momentos no Hotel Royale de 2018.\n\n## Descrição\n\nAs instruções a seguir apresentam como rodar o projeto em sua máquina.\n\n### Pré-requisitos\n\nÉ preciso ter o Docker e o Docker Compose instalados.\n\nPor exemplo, no Arch Linux:\n\n```sh\nsudo pacman -S docker docker-compose\n```\n\n### Inicialização\n\nClone o repositório:\n\n```sh\ngit clone https://github.com/robsonsilv4/ElRoyale.git \u0026\u0026 cd ElRoyale\n```\n\nApós, execute as migrations e inicie o container:\n\n```sh\ndocker-compose run web python /code/manage.py migrate --noinput\n\ndocker-compose up -d --build\n```\n\nCaso queira criar um usuário administrador, execute:\n\n```sh\ndocker-compose run web python /code/manage.py createsuperuser\n```\n\nPara carregar os dados iniciais do banco, execute:\n\n```\ndocker-compose run web python /code/manage.py loaddata fixtures.json\n```\n\n### Documentação e testes\n\nA documentação está dispovível em [api/v1/docs/](http://127.0.0.1:8000/api/v1/docs/).\n\nSe deseja acessar os recursos utilizando o browser (navegador), há uma interface web disponível.\n\nOs testes podem ser realizados com o Postman, utilizando a [collection de exemplo](collection).\n\n### Estilo de código\n\nO projeto utiliza o guia de estilos do [PEP8](https://www.python.org/dev/peps/pep-0008/).\n\n## Feito utilizando\n\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n- [Python](https://www.python.org/)\n- [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/)\n- [Django](https://www.djangoproject.com/start/)\n- Usuário Customizado\n- [Django REST Framework](https://www.django-rest-framework.org/)\n- CORS\n- [JWT](https://jwt.io/)\n- Filtros\n- [PostgreSQL](https://www.postgresql.org/)\n- [SQLite3](https://www.sqlite.org/index.html)\n- [Postman](https://www.getpostman.com/)\n- [Arch Linux](https://www.archlinux.org/)\n- [Visual Studio Code](https://code.visualstudio.com/)\n\n## Autor\n\n- **Robson Silva** - [robsonsilv4](https://github.com/robsonsilv4)\n\n## Licença\n\nEsse projeto está licensiado sob os termos da licença do MIT - veja o arquivo [LICENSE.md](LICENSE.md) para mais detalhes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonsilv4%2Fel-royale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobsonsilv4%2Fel-royale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonsilv4%2Fel-royale/lists"}