{"id":22131740,"url":"https://github.com/javitocor/drf_auth","last_synced_at":"2026-05-03T19:34:45.215Z","repository":{"id":118467376,"uuid":"406368581","full_name":"javitocor/DRF_Auth","owner":"javitocor","description":"A very simple api with authorization token implementation.","archived":false,"fork":false,"pushed_at":"2021-09-14T13:08:04.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:23:52.511Z","etag":null,"topics":["django","django-rest-framework","httpie","token-based-authentication"],"latest_commit_sha":null,"homepage":"","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/javitocor.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}},"created_at":"2021-09-14T13:00:51.000Z","updated_at":"2021-09-30T12:12:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7010854-4ba0-4bce-a697-5fd40d16a0d8","html_url":"https://github.com/javitocor/DRF_Auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javitocor/DRF_Auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FDRF_Auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FDRF_Auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FDRF_Auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FDRF_Auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javitocor","download_url":"https://codeload.github.com/javitocor/DRF_Auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javitocor%2FDRF_Auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","httpie","token-based-authentication"],"created_at":"2024-12-01T18:37:03.680Z","updated_at":"2026-05-03T19:34:45.183Z","avatar_url":"https://github.com/javitocor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\u003c!--\nThis README would normally document whatever steps are necessary to get the\napplication up and running.\n\nThings you may want to c\u003c!--\n*** Thanks for checking out this README Template. If you have a suggestion that would\n*** make this better, please fork the repo and create a pull request or simply open\n*** an issue with the tag \"enhancement\".\n*** Thanks again! Now go create something AMAZING! :D\n--\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n\u003c!--\n*** I'm using markdown \"reference style\" links for readability.\n*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).\n*** See the bottom of this document for the declaration of the reference variables\n*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.\n*** https://www.markdownguide.org/basic-syntax/#reference-style-links\n--\u003e\n[![Contributors][contributors-shield]][contributors-url] \n[![Forks][forks-shield]][forks-url] \n[![Stargazers][stars-shield]][stars-url] \n[![Issues][issues-shield]][issues-url] \n![Hireable](https://cdn.rawgit.com/hiendv/hireable/master/styles/default/yes.svg) \n\n# Django Rest Framework Auth Token\n\n\u003e  A very simple api with authorization token implementation.\n\nAdditional description about the project and its features.\n\n\n## Built With\n\n- DJANGO\n- DJANGO REST FRAMEWORK\n- HTTPie\n- GITHUB ACTIONS\n- VSCODE\n\n## Getting Started\n### Usage\nTo have this app on your pc, you need to:\n* [download](https://github.com/javitocor/DRF_Auth/archive/main.zip) or clone this repo:\n  - Clone with SSH:\n  ```\n    git@github.com:javitocor/DRF_Auth.git\n  ```\n  - Clone with HTTPS\n  ```\n    https://github.com/javitocor/DRF_Auth.git\n  ```\n\n* In the project directory, you can run:\n\nCreate virtual enviroment with:\n\n``` bash\n   py -m venv project-name\n   project-name\\Scripts\\activate.bat\n```\n\nRun migrations:\n\n``` bash\n   py manage.py migrate\n```\nRun server:\n\n``` bash\n   py manage.py runserver\n```\nCreate a superuser in the command line by typing:\n``` bash\n   python manage.py createsuperuser --username example --email example@example.com\n```\n\nRequest you token with by sending a post request (with HTTPie):\n``` bash\n   command line: python manage.py drf_create_token \u003cname_superuser\u003e\n   httpie: http post http://127.0.0.1:8000/api-token-auth/ username=example password=123\n```\nMake a get request (with HTTPie) to get the info:\n``` bash\n   http http://127.0.0.1:8000/hello/ 'Authorization: Token \u003ctoken_received_in_previous_step\u003e'\n```\n\nYou can access the page by typing in your web browser and login with your superuser credentials\n\n``` bash\n   http://127.0.0.1:8000/hello\n```\n\n\n## Author\n\n👤 Javier Oriol Correas Sanchez Cuesta \n- Github: [@javitocor](https://github.com/javitocor) \n- Twitter: [@JavierCorreas4](https://twitter.com/JavierCorreas4) \n- Linkedin: [Javier Oriol Correas Sanchez Cuesta](https://www.linkedin.com/in/javier-correas-sanchez-cuesta-15289482/) \n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/javitocor/DRF_Auth/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments 🚀\n\n- [Django Docs](https://docs.djangoproject.com/en/3.2/)\n- [Django Rest Framework Docs](https://www.django-rest-framework.org/)\n\n## 📝 License\n\nThis project is [MIT](lic.url) licensed.\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/javitocor/DRF_Auth.svg?style=flat-square\n[contributors-url]: https://github.com/javitocor/DRF_Auth/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/javitocor/DRF_Auth.svg?style=flat-square\n[forks-url]: https://github.com/javitocor/DRF_Auth/network/members\n[stars-shield]: https://img.shields.io/github/stars/javitocor/DRF_Auth.svg?style=flat-square\n[stars-url]: https://github.com/javitocor/DRF_Auth/stargazers\n[issues-shield]: https://img.shields.io/github/issues/javitocor/DRF_Auth.svg?style=flat-square\n[issues-url]: https://github.com/javitocor/DRF_Auth/issuesover:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavitocor%2Fdrf_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavitocor%2Fdrf_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavitocor%2Fdrf_auth/lists"}