{"id":25403143,"url":"https://github.com/Fialex1212/django-nextjs-auth","last_synced_at":"2025-10-30T23:31:12.918Z","repository":{"id":277558734,"uuid":"932803214","full_name":"Fialex1212/auth-app","owner":"Fialex1212","description":"Auth app using Django\u0026React","archived":false,"fork":false,"pushed_at":"2025-02-14T15:07:08.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T16:21:50.624Z","etag":null,"topics":["corsheaders","django","django-rest-framework","javascript","nextjs","python","react","sqlite3","typescript","zustand"],"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/Fialex1212.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2025-02-14T14:52:25.000Z","updated_at":"2025-02-14T15:08:51.000Z","dependencies_parsed_at":"2025-02-14T16:31:58.854Z","dependency_job_id":null,"html_url":"https://github.com/Fialex1212/auth-app","commit_stats":null,"previous_names":["fialex1212/auth-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Fauth-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Fauth-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Fauth-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Fauth-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fialex1212","download_url":"https://codeload.github.com/Fialex1212/auth-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239080052,"owners_count":19578107,"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":["corsheaders","django","django-rest-framework","javascript","nextjs","python","react","sqlite3","typescript","zustand"],"created_at":"2025-02-16T02:28:02.369Z","updated_at":"2025-10-30T23:31:12.528Z","avatar_url":"https://github.com/Fialex1212.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth App\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n\n## Introduction\n\nAuth App is a full-stack authentication system built using modern web technologies. It provides secure user authentication, role-based access control, and session management using JWT. The application is designed to be scalable, maintainable, and easy to integrate into other projects.\n\nThe frontend is built with **React, Next.js, JavaScript, and Zustand** for state management, while the backend is powered by **Python, Django, and Django REST Framework (DRF)** for handling authentication, user management, and API endpoints.\n\n## Features\n\n- **JWT Authentication:** Secure authentication using JSON Web Tokens (JWT) for user sessions.\n- **User Registration \u0026 Login:** Users can create an account and log in securely.\n- **Role-Based Access Control (RBAC):** Restrict access to certain routes based on user roles (e.g., admin, user).\n- **Password Hashing:** Uses bcrypt to securely store user passwords.\n- **Session Management:** Token-based session handling with expiration and refresh token support.\n- **Protected Routes:** Ensures only authenticated users can access certain parts of the application.\n- **API with RESTful Endpoints:** Clean and well-structured API endpoints for authentication and user management.\n\n## Technologies Used\n\n- Frontend:\n  - [React, Next.js, zustand, Tailwind CSS]\n- Backend:\n  - [Python, Django, DRF, Sqlite]\n\n## Installation\n\nTo set up the project locally, follow these steps:\n\n### 1. Clone the repository:\n\n```bash\ngit clone https://github.com/Fialex1212/auth-app.git\ncd auth-app\n```\n\n### 2. Set up and run the backend:\n\n```bash\ncd backend\npython -m venv venv\n# On Windows:\n.\\venv\\Scripts\\activate\n# On macOS/Linux:\nsource venv/bin/activate\npip install -r requirements.txt\ncd auth_app\npython manage.py makemigrations\npython manage.py migrate\npython manage.py runserver\n```\n\n### 3. Set up and run the frontend:\n\n```bash\ncd ../../frontend\nyarn install\nyarn dev\n```\n\n### 4. Access the application:\n\n- **Frontend:** Open `http://localhost:3000`\n- **Backend API:** Open `http://localhost:8000/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFialex1212%2Fdjango-nextjs-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFialex1212%2Fdjango-nextjs-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFialex1212%2Fdjango-nextjs-auth/lists"}