https://github.com/devmahmud/user-profile-api
A django rest framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions
https://github.com/devmahmud/user-profile-api
authentication customusermodel django django-rest-framework python
Last synced: 5 months ago
JSON representation
A django rest framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions
- Host: GitHub
- URL: https://github.com/devmahmud/user-profile-api
- Owner: devmahmud
- Created: 2020-03-17T17:20:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T18:46:04.000Z (over 4 years ago)
- Last Synced: 2025-05-07T05:41:01.052Z (9 months ago)
- Topics: authentication, customusermodel, django, django-rest-framework, python
- Language: Python
- Size: 14.6 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Profiles API
A Django Rest Framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions. In this project i have replaced username field to email for authentication by extending AbstractBaseUser and BaseUserManager.
# Requirements
```
open requirements.txt file to see requirements
To install requirements type
pip install -r requirements.txt
```
# Installing
```
open terminal and type
git clone https://github.com/devmahmud/User-Profile-Api.git
```
or simply download using the url below
```
https://github.com/devmahmud/User-Profile-Api.git
```
# To migrate the database open terminal in project directory and type
```
python manage.py makemigrations
python manage.py migrate
```
# Creating Superuser
```
To create superuser open terminal and type
python manage.py createsuperuser
```
# To run the program in local server use the following command
```
python manage.py runserver
```
Then go to http://127.0.0.1:8000 in your browser to see available endpoints
## Author
Mahmudul alam
Email: expelmahmud@gmail.com
========Thank You !!!=========