{"id":26780917,"url":"https://github.com/sneha-at-hub/userauthentication-simplejwt-restframework-react","last_synced_at":"2025-03-29T07:18:53.356Z","repository":{"id":248976523,"uuid":"828778684","full_name":"sneha-at-hub/Userauthentication-SimpleJWT-RestFramework-react","owner":"sneha-at-hub","description":"This repository contains a responsive and visually appealing login page built with React. The login page utilizes the Context API for authentication, React Router for navigation, and Bootstrap for layout and styling. This project demonstrates how to create a user-friendly and functional login interface with modern web development practices.","archived":false,"fork":false,"pushed_at":"2024-07-18T09:01:09.000Z","size":24121,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-18T11:06:10.952Z","etag":null,"topics":["authentication","axios-restful","corsheaders","djangorestframework","djangorestframework-simplejwt","jazzmin","reactjs","simplejwt"],"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/sneha-at-hub.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-07-15T05:42:56.000Z","updated_at":"2024-07-18T11:06:34.274Z","dependencies_parsed_at":"2024-07-18T11:06:11.923Z","dependency_job_id":null,"html_url":"https://github.com/sneha-at-hub/Userauthentication-SimpleJWT-RestFramework-react","commit_stats":null,"previous_names":["sneha-at-hub/userauth-using-jwt-restframework-react","sneha-at-hub/userauthentication-simplejwt-restframework-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneha-at-hub%2FUserauthentication-SimpleJWT-RestFramework-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneha-at-hub%2FUserauthentication-SimpleJWT-RestFramework-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneha-at-hub%2FUserauthentication-SimpleJWT-RestFramework-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneha-at-hub%2FUserauthentication-SimpleJWT-RestFramework-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sneha-at-hub","download_url":"https://codeload.github.com/sneha-at-hub/Userauthentication-SimpleJWT-RestFramework-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150426,"owners_count":20731419,"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":["authentication","axios-restful","corsheaders","djangorestframework","djangorestframework-simplejwt","jazzmin","reactjs","simplejwt"],"created_at":"2025-03-29T07:18:52.730Z","updated_at":"2025-03-29T07:18:53.347Z","avatar_url":"https://github.com/sneha-at-hub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# corsheader\nCross-Origin Resource Sharing headers, or CORS headers, are an important feature of HTTP that ensures a webpage only uses content permitted by other websites/servers.\nDjango-CORS-header Adding CORS headers allows your resources to be accessed on other domains. \n\n\u003cimg width=\"1147\" alt=\"image\" src=\"https://github.com/user-attachments/assets/23e8c109-0d61-4c73-a7e8-198dceec2aea\"\u003e\n\n\u003cimg width=\"1147\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7a6f9be9-4f44-46b1-8e5f-e819e296656d\"\u003e\n\n\u003cimg width=\"1439\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b78718b0-1e66-4d3b-9755-68920c9bd6b9\"\u003e\n\n\u003cimg width=\"1439\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ef2cfaba-6934-4aa4-8383-470ed159a57c\"\u003e\n\n\n# Prerequisites\nMake sure you have the following software installed on your machine:\n- Python: Download and install the latest version from Python.org.\n- pip: This is the package installer for Python, typically included with Python installation.\n- Virtualenv: This helps create isolated Python environments. You can install it using pip if not - already installed:\n\n```bash\npip install virtualenv\n```\n# Clone the repository\nFirst, clone the repository to your local machine using Git. Open your terminal and run the following command:\n```bash\nhttps://github.com/sneha-at-hub/Userauthentication-SimpleJWT-RestFramework-react.git\n```\n## Navigate to the project directory\nChange your working directory to the project's directory\n```bash\ncd backend\n```\n## Create and Activate virtual Environment\n```bash\nvirtualenv venv\n```\n### Activate\n**On mac/Linux**\n\n```bash\nsource venv/bin/activate\n```\n\n**On Windows**\n```bash\nvenv\\Scripts\\activate\n\n```\n## Install Dependencies\nInstall the project dependencies listed in the requirements.txt file:\n```bash\npip install -r requirements.txt\n```\nInstall Django using pip within your virtual environment:\n```bash\npip install django\n```\nInstall Django REST Framework using pip:\n```bash\npip install djangorestframework\n```\n## Set up the Database\nRun the following commands to set up the database:\n```bash\npython manage.py makemigrations\npython manage.py migrate\n```\n## Create a Superuser\nCreate a superuser to access the Django admin interface:\n```bash\npython manage.py createsuperuser\n```\n### Run the Development Server\nStart the development server:\n```bash\npython manage.py runserver\n```\nThe development server will typically be available at **http://127.0.0.1:8000**.\n\n## Troubleshooting\n### Common Issues\n\n- If you encounter an error like pip: command not found, ensure Python and pip are properly installed.\n- If you see dependency errors, try deleting the venv folder and re-create the virtual environment, then re-run pip install -r requirements.txt.\n  \n# Useful Links:\n- [Django Documentation](https://docs.djangoproject.com/en/5.0/)\n- [Django REST Framework Documentation](https://www.django-rest-framework.org/)\n- [Python Downloads](https://www.python.org/downloads/)\n- [pip Documentation](https://pip.pypa.io/en/stable/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsneha-at-hub%2Fuserauthentication-simplejwt-restframework-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsneha-at-hub%2Fuserauthentication-simplejwt-restframework-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsneha-at-hub%2Fuserauthentication-simplejwt-restframework-react/lists"}