Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearbobs/userauth-django
user authentication using django
https://github.com/bearbobs/userauth-django
Last synced: 1 day ago
JSON representation
user authentication using django
- Host: GitHub
- URL: https://github.com/bearbobs/userauth-django
- Owner: Bearbobs
- Created: 2019-09-10T13:00:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T22:19:51.000Z (over 2 years ago)
- Last Synced: 2023-03-03T00:19:04.785Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UserAuth-Django
Basic user authentication using django# Backend
It is built with [Python][0] using the [Django Web Framework][1].
This project has the following apps:
* accounts (main user authentication app)
it uses authentication library of django and django restframework for handeling permissions.
## Requirements
- Python 3.6 and above
- pip3 for Python 3.6 and above---
## Setup
1. Run the Django server
```
pip install -r requirements.txt
python3 manage.py runserver
```_Runs default on port 8000
Default User for Testing:-
* Username: "anuj" Password: "1234"
* Username: "serendeepia" Password: "1234"
=>Note:
Users Can Be added by- "python manage.py createsuperuser" or by Dajngo Admin Panel.
## Basic Usage:
http://127.0.0.1:8000/
It redirects to the Home page when user login credentials are correct.
http://127.0.0.1:8000/admin/
Users can be added or removed from admin pannel as well.
## Api Usage:
http://127.0.0.1:8000/api/?token=AuthToken
It gives response only when the user has a current active session , else it redirects to django-restframeworks "Access Denied" page.[0]: https://www.python.org/
[1]: https://www.djangoproject.com/